lookingglass/hyperglass/ui/components/form/row.tsx
2021-01-03 23:51:09 -07:00

15 lines
330 B
TypeScript

import { Flex } from '@chakra-ui/react';
import { FlexProps } from '@chakra-ui/react';
export const FormRow: React.FC<FlexProps> = (props: FlexProps) => {
return (
<Flex
w="100%"
flexDir="row"
flexWrap="wrap"
justifyContent={{ base: 'center', lg: 'space-between' }}
{...props}
/>
);
};