@brisk-docs/file-viewer
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

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')} />

Readme

Keywords

none

Package Sidebar

Install

npm i @brisk-docs/file-viewer

Weekly Downloads

3

Version

0.2.5

License

MIT

Unpacked Size

79.4 kB

Total Files

11

Last publish

Collaborators

  • dpisani-atl
  • noviny