the-component-demo

Live demo of the-components


Keywords
react-component, the
License
MIT
Install
npm install the-component-demo@4.0.18

Documentation

the-component-demo

Build Status npm Version JS Standard

Live demo of the-components

Installation

$ npm install the-component-demo --save

Usage

'use strict'

import React from 'react'
import TheComponentDemo from 'the-component-demo'

const TheComponentDemoStyles = TheComponentDemo.styles({})

class ExampleComponent extends React.PureComponent {
  render () {
    return (
      <TheComponentDemo id='my-component'
                   styles={ TheComponentDemoStyles }
      />
    )
  }
}

export default ExampleComponent

Components

TheComponentDemo

Live demo of the-components

Props

Name Type Description Default
className string CSS class name null
pkg object Package json for demo null
snippet string Snippet script null

License

This software is released under the MIT License.

Links