New Project, Monday

    @reaf-toolkit/code-view
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.15 • Public • Published

    @reaf-toolkit/code-view

    code view

    Installation

    Using npm:

    $ npm i -g npm
    $ npm i --save @reaf-toolkit/code-view

    Using yarn:

    $ yarn add @reaf-toolkit/code-view

    Usage

    import CodeView from '@reaf-toolkit/code-view'
    import '@reaf-toolkit/code-view/dist/index.css'
    
    const App = () => {
      return (
        <div className="container">
          <CodeView
            showCode
            theme="dark"
            dependencies={{
              Button,
            }}
            source={require('./article.md')}
          />
        </div>
      )
    }
    
    export default App

    Keywords

    none

    Install

    npm i @reaf-toolkit/code-view

    DownloadsWeekly Downloads

    0

    Version

    0.0.15

    License

    MIT

    Unpacked Size

    28.8 kB

    Total Files

    14

    Last publish

    Collaborators

    • sunnyshining