1.0.22 • Published 9 years ago
apeman-react-demo v1.0.22
apeman-react-demo
apeman react package for demo components
Installation
$ npm install apeman-react-demo --saveDemo
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 | Package data | ||
| src | string | Source file path of demo target | ||
| favicon | string | 'https://raw.githubusercontent.com/apeman-asset-labo/apeman-asset-images/master/dist/favicon/react-favicon.png'; | Favicon URL | |
| scripts | array | [] | Script file path | |
| links | object | {} | Link URLs | |
| head | node | null | Additional head child node | |
| body | node | null | Additional body child node |
License
This software is released under the MIT License.
Links
1.0.22
9 years ago
1.0.21
9 years ago
1.0.20
9 years ago
1.0.19
9 years ago
1.0.18
9 years ago
1.0.17
9 years ago
1.0.16
9 years ago
1.0.15
9 years ago
1.0.14
9 years ago
1.0.13
10 years ago
1.0.12
10 years ago
1.0.11
10 years ago
1.0.9
10 years ago
1.0.8
10 years ago
1.0.7
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago