diff options
author | eug-vs <eug-vs@keemail.me> | 2020-10-10 13:39:08 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-10-10 13:39:08 +0300 |
commit | bfa9f7b9158faa3a453eaabf5be3c96b6c8a18b1 (patch) | |
tree | 1f8b2b987b24ecacb9b1fe62ce57d1f0ac6f6230 | |
parent | c33c6a521325adafb250124d2814423b3a4187b5 (diff) | |
download | react-benzin-bfa9f7b9158faa3a453eaabf5be3c96b6c8a18b1.tar.gz |
refactor: remove demo components from lib
-rw-r--r-- | src/demo/Button/Button.tsx (renamed from src/lib/Button/Button.tsx) | 0 | ||||
-rw-r--r-- | src/demo/Header/Header.tsx (renamed from src/lib/Header/Header.tsx) | 0 | ||||
-rw-r--r-- | src/demo/SmartList/SmartList.tsx (renamed from src/lib/SmartList/SmartList.tsx) | 0 | ||||
-rw-r--r-- | src/demo/Window/Window.tsx (renamed from src/lib/Window/Window.tsx) | 0 | ||||
-rw-r--r-- | src/demo/Window/WindowSurface.tsx (renamed from src/lib/Window/WindowSurface.tsx) | 0 | ||||
-rw-r--r-- | src/demo/Window/types.ts (renamed from src/lib/Window/types.ts) | 0 | ||||
-rw-r--r-- | src/index.tsx | 7 | ||||
-rw-r--r-- | src/lib/index.ts | 4 |
8 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/Button/Button.tsx b/src/demo/Button/Button.tsx index 6bc0f98..6bc0f98 100644 --- a/src/lib/Button/Button.tsx +++ b/src/demo/Button/Button.tsx diff --git a/src/lib/Header/Header.tsx b/src/demo/Header/Header.tsx index 58be989..58be989 100644 --- a/src/lib/Header/Header.tsx +++ b/src/demo/Header/Header.tsx diff --git a/src/lib/SmartList/SmartList.tsx b/src/demo/SmartList/SmartList.tsx index c86c127..c86c127 100644 --- a/src/lib/SmartList/SmartList.tsx +++ b/src/demo/SmartList/SmartList.tsx diff --git a/src/lib/Window/Window.tsx b/src/demo/Window/Window.tsx index beaa672..beaa672 100644 --- a/src/lib/Window/Window.tsx +++ b/src/demo/Window/Window.tsx diff --git a/src/lib/Window/WindowSurface.tsx b/src/demo/Window/WindowSurface.tsx index 1900901..1900901 100644 --- a/src/lib/Window/WindowSurface.tsx +++ b/src/demo/Window/WindowSurface.tsx diff --git a/src/lib/Window/types.ts b/src/demo/Window/types.ts index 9e18fe3..9e18fe3 100644 --- a/src/lib/Window/types.ts +++ b/src/demo/Window/types.ts diff --git a/src/index.tsx b/src/index.tsx index 4dd760b..404ac16 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,21 +1,19 @@ import React, { useState, useRef } from 'react'; import ReactDOM from 'react-dom'; - import { makeStyles, TextField, Button, Link, } from '@material-ui/core'; - import { Benzin, - Header, - Window, Markdown, ContentSection, } from './lib'; +import Header from './demo/Header/Header'; +import Window from './demo/Window/Window'; import icon from './assets/icon.svg'; interface RenderPropTypes { @@ -23,7 +21,6 @@ interface RenderPropTypes { style: React.CSSProperties; } - const useStyles = makeStyles(theme => ({ window: { padding: theme.spacing(4), diff --git a/src/lib/index.ts b/src/lib/index.ts index 0f31104..545e6f8 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1,7 +1,3 @@ -export { default as Window } from './Window/Window'; -export { default as Header } from './Header/Header'; export { default as ContentSection } from './ContentSection/ContentSection'; -export { default as SmartList } from './SmartList/SmartList'; export { default as Benzin } from './Benzin/Benzin'; -export { default as Button } from './Button/Button'; export { default as Markdown } from './Markdown/Markdown'; |