mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
26 lines
505 B
JavaScript
26 lines
505 B
JavaScript
import * as React from "react";
|
|
import { Flex } from "@chakra-ui/core";
|
|
|
|
const CardFooter = ({ children, ...props }) => {
|
|
return (
|
|
<Flex
|
|
p={4}
|
|
roundedBottomLeft={4}
|
|
roundedBottomRight={4}
|
|
direction="column"
|
|
borderTopWidth="1px"
|
|
overflowX="hidden"
|
|
overflowY="hidden"
|
|
flexDirection="row"
|
|
justifyContent="space-between"
|
|
{...props}
|
|
>
|
|
{children}
|
|
</Flex>
|
|
);
|
|
};
|
|
|
|
CardFooter.displayName = "CardFooter";
|
|
|
|
export default CardFooter;
|