mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
17 lines
326 B
JavaScript
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>
|
|
);
|
|
}
|