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

fix import/export, remove need for .alias.js, closes #74

This commit is contained in:
checktheroads
2020-09-28 11:54:00 -07:00
parent a4664e9f3f
commit 46e7dc40d0
71 changed files with 1678 additions and 2311 deletions

View File

@@ -11,7 +11,7 @@ import {
useColorMode,
useDisclosure
} from "@chakra-ui/core";
import Markdown from "~/components/Markdown";
import { Markdown } from "app/components";
import { motion } from "framer-motion";
const bg = { light: "white", dark: "black" };
@@ -20,7 +20,7 @@ const color = { light: "black", dark: "white" };
const AnimatedModalContent = motion.custom(ModalContent);
const AnimatedModalOverlay = motion.custom(ModalOverlay);
const Greeting = ({ greetingConfig, content, onClickThrough }) => {
export const Greeting = ({ greetingConfig, content, onClickThrough }) => {
const { isOpen, onOpen, onClose } = useDisclosure(true);
const { colorMode } = useColorMode();
@@ -67,5 +67,3 @@ const Greeting = ({ greetingConfig, content, onClickThrough }) => {
</Modal>
);
};
export default Greeting;