import FileViewer from './src/components/file-viewer' import ButtonExample from './examples/view-button'
This library is designed to help you display inline examples and their corresponding source code.
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')} />