apeman-react-demo
apeman react package for demo components
Installation
$ npm install apeman-react-demo --save
Demo
Live demo is hosted on GitHub Pages.
Usage
'use strict'
import pkg from '../package.json'
import React from 'react'
import {ApDemo, ApDemoStyle} from 'apeman-react-demo'
const ExampleComponent = React.createClass({
render () {
return (
<ApDemo pkg={ pkg }
src={ `${__dirname}/../demo` }
/>
)
}
})
Components
ApDemo
Props
Name | Type | Default | Description |
---|---|---|---|
pkg | object | ||
src | string | ||
favicon | string | 'https://raw.githubusercontent.com/apeman-asset-labo/apeman-asset-images/master/dist/favicon/react-favicon.png' | |
scripts | array | [] | |
links | object | {} | |
head | node | null | |
body | node | null |
License
This software is released under the MIT License.