lookingglass/hyperglass/ui/components/card/footer.tsx
2021-12-17 21:08:45 -07:00

18 lines
399 B
TypeScript

import { Flex } from '@chakra-ui/react';
import type { TCardFooter } from './types';
export const CardFooter = (props: TCardFooter): JSX.Element => (
<Flex
p={4}
direction="column"
overflowX="hidden"
overflowY="hidden"
flexDirection="row"
borderTopWidth="1px"
roundedBottomLeft={4}
roundedBottomRight={4}
justifyContent="space-between"
{...props}
/>
);