react-props-viewer
A react high order component to generate props viewer
Last updated 3 years ago by jlhwung .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-props-viewer 
SYNC missed versions from official npm registry.

react-props-viewer

npm version Build Status Coverage Status Dependencies Status Dev Dependencies Status

usage

import React from 'react'
import { render } from 'react-dom'
import PropsViewer from 'react-props-viewer'

const TodoComponent = PropsViewer('TodoComponent')

const props = {
    count: 43,
    todos: [{
        id: '1',
        text: 'brunch'
    }, {
        id: '2',
        text: 'grocery'
    }]
}
render(<TodoComponent {...props} />, document.getElementById('main'))

screenshot

screenshot

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

6 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |