import React from 'react'; export const jsxstyleFactory = fn => { const Box = ({ component = 'div', className, css, props, children, ...rest }) => { return React.createElement( component, { className: fn(css, rest, className), ...props, }, children ); }; Box.displayName = 'Box'; const Block = p => ; Block.displayName = 'Block'; const Inline = p => ; Inline.displayName = 'Inline'; const InlineBlock = p => ; InlineBlock.displayName = 'InlineBlock'; const Flex = p => ; Flex.displayName = 'Flex'; const InlineFlex = p => ; InlineFlex.displayName = 'InlineFlex'; const Grid = p => ; Grid.displayName = 'Grid'; const Row = p => ; Row.displayName = 'Row'; const Col = p => ; Col.displayName = 'Col'; return { Box, Flex, InlineFlex, Inline, InlineBlock, Block, Grid, Col, Row, }; };