diff options
author | eug-vs <eug-vs@keemail.me> | 2020-04-03 03:30:16 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-04-03 03:30:16 +0300 |
commit | a2877c2844825853b8913a07a40f814fc03ac999 (patch) | |
tree | 0e89a301327b75506c49599cff2bc7329a85d0c0 /src/index.tsx | |
parent | eee96f01e29ddb8b95e9429c4e584fe6e7e7faec (diff) | |
download | react-benzin-a2877c2844825853b8913a07a40f814fc03ac999.tar.gz |
feat: support Markdown by url
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 4 |
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"> |