security-checklist/components/Card/index.js
2019-01-12 17:52:43 -08:00

13 lines
285 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 } = props;
return <StyledCard style={style}>{children}</StyledCard>;
}