forked from mirrors/thatmattlove-hyperglass
18 lines
399 B
TypeScript
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}
|
|
/>
|
|
);
|