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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user