1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Refactor React components & update deps

This commit is contained in:
checktheroads
2020-07-05 17:20:10 -07:00
parent 6ea8dfe975
commit 79c271b0ce
56 changed files with 1231 additions and 1272 deletions

View File

@@ -4,7 +4,7 @@ import { Flex, useColorMode } from "@chakra-ui/core";
const bg = { light: "white", dark: "original.dark" };
const color = { light: "original.dark", dark: "white" };
const CardBody = ({ onClick = () => false, children, ...props }) => {
export const CardBody = ({ onClick = () => false, children, ...props }) => {
const { colorMode } = useColorMode();
return (
<Flex
@@ -23,7 +23,3 @@ const CardBody = ({ onClick = () => false, children, ...props }) => {
</Flex>
);
};
CardBody.displayName = "CardBody";
export default CardBody;