aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-04-03 03:30:16 +0300
committereug-vs <eug-vs@keemail.me>2020-04-03 03:30:16 +0300
commita2877c2844825853b8913a07a40f814fc03ac999 (patch)
tree0e89a301327b75506c49599cff2bc7329a85d0c0 /src/index.tsx
parenteee96f01e29ddb8b95e9429c4e584fe6e7e7faec (diff)
downloadreact-benzin-a2877c2844825853b8913a07a40f814fc03ac999.tar.gz
feat: support Markdown by url
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/index.tsx b/src/index.tsx
index cba71b6..9678beb 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -28,8 +28,6 @@ const useStyles = makeStyles(theme => ({
}));
-const data = "# Getting started\n## Installation \nGo and install it \n# Development\nMore info on dev";
-
const Icon = <img src={icon} width="32px" height="37px" alt="logo"/>
const headerContents = {
@@ -92,7 +90,7 @@ const App: React.FC = () => {
primary
</Button>
</ContentSection>
- <Markdown data={data} />
+ <Markdown url='https://raw.githubusercontent.com/eug-vs/react-benzin/develop/README.md' />
</div>
</Window>
<Window type="secondary" name="SmartList preview window">