import React, { ReactNode } from 'react'; import styled from 'styled-components'; import { color, ColorProps, layout, LayoutProps, size, space, SpaceProps, WidthProps, } from 'styled-system'; import { ThemeBackgroundColor } from '@t3n/theme/src/theme/colors/colors'; export interface CardSplitContentProps { variant?: ThemeBackgroundColor; children?: ReactNode; } const Wrapper = styled.div` ${space} ${layout} ${color} ${size} `; const CardSplitContent: React.FC = ({ children, variant, }) => { const backgroundColor = variant ? `background.${variant}` : 'background.primary'; return ( {children} ); }; export default CardSplitContent;