How to use the react-styleguidist/lib/client/rsg-components/ReactComponent/ReactComponent.PropTypes function in react-styleguidist

To help you get started, we’ve selected a few react-styleguidist examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vue-styleguidist / vue-styleguidist / packages / vue-styleguidist / src / client / rsg-components / VsgReactComponent / ReactComponent.js View on Github external
import React, { Component } from 'react'
import RsgReactComponent from 'react-styleguidist/lib/client/rsg-components/ReactComponent/ReactComponent'

export const DocumentedComponentContext = React.createContext({})

export default class ReactComponent extends Component {
	static propTypes = RsgReactComponent.PropTypes

	render() {
		return (
			
				
			
		)
	}
}