security-checklist/components/Card/index.js
2019-01-12 23:00:23 -08:00

17 lines
326 B
JavaScript

// @flow
import * as React from 'react';
import { StyledCard } from './style';
type Props = {
children: React.Node,
style?: Object,
};
export default function Card(props: Props) {
const { style, children, ...rest } = props;
return (
<StyledCard {...rest} style={style}>
{children}
</StyledCard>
);
}