Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Latest commit

 

History

History

file-viewer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

import FileViewer from './src/components/file-viewer' import ButtonExample from './examples/view-button'

File Viewer Component

This library is designed to help you display inline examples and their corresponding source code.

Usage

import FileViewer from '@brisk-docs/file-viewer'
<FileViewer Component={ButtonExample} title="Button" source={require('!!raw-loader!./examples/view-button')} />

<FileViewer Component={ButtonExample} title="Button" source={require('!!raw-loader!./examples/view-button')} />