-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.js
58 lines (53 loc) · 1.72 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// export theme stuff
export { defaultTheme } from "./styled/theme";
// export hooks
import { useModal } from "./jsx/hooks/useModal";
import { useCabinet } from "./jsx/hooks/useCabinet";
import { useDarkMode } from "./jsx/hooks/useDarkMode";
import { useTheme } from "./jsx/hooks/useTheme";
// jsx components
import ColorModeContainer from "./jsx/components/ColorModeContainer";
import AppContainer from "./jsx/components/AppContainer";
import ToggleTheme from "./jsx/components/ToggleTheme";
import Cabinet from "./jsx/components/Cabinet";
import Modal from "./jsx/components/Modal";
import Img from "./jsx/components/Img";
import styled, {
ServerStyleSheet,
ThemeProvider,
ThemeContext,
withTheme,
css,
} from "styled-components";
// exports
export {
Img,
ThemeProvider,
withTheme,
useModal,
useCabinet,
useDarkMode,
useTheme,
ThemeContext,
Modal,
Cabinet,
ServerStyleSheet,
AppContainer,
ColorModeContainer,
ToggleTheme,
styled,
css,
};
// export style components
export { default as AppWrapper } from "./styled/components/AppWrapper";
export { default as Wrapper } from "./styled/components/Wrapper";
export { default as NavBar } from "./styled/components/NavBar";
export { default as Flex } from "./styled/components/Flex";
export { default as Form } from "./styled/components/Form";
export { default as Input } from "./styled/components/Input";
export { default as Button } from "./styled/components/Button";
export { default as Card } from "./styled/components/Card";
export { default as Box } from "./styled/components/Box";
export { default as Hero } from "./styled/components/Hero";
export { default as Text } from "./styled/components/Text";
export { default as Tooltip } from "./styled/components/Tooltip";