From bfa9f7b9158faa3a453eaabf5be3c96b6c8a18b1 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 10 Oct 2020 13:39:08 +0300 Subject: refactor: remove demo components from lib --- src/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/index.tsx') 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), -- cgit v1.2.3 From 0e6cffbb2748bcebe6c53026099a0e610230a650 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 10 Oct 2020 14:06:21 +0300 Subject: fix: resolve eslint error --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 404ac16..5ba33a0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -99,7 +99,8 @@ const LivePreviewPage: React.FC = ({ setLivePreviewData }) => {

Start typing and see your text rendered on the left window! - You can find the list of all Markdown features {' '} + You can find the list of all Markdown features + {' '} here -- cgit v1.2.3