You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReact,{Component}from'react'importRadiumfrom'radium'/** * react-docgen does not parse this description when a @decorator is present */
@RadiumexportdefaultclassextendsComponent{staticdisplayName='DocCommentExample'staticstyleguide={index: '5.2',category: 'Features!',title: 'Additional examples via doc comment'}staticpropTypes={/** * Block level */block: React.PropTypes.bool,/** * Style types `'default|primary|success|info'` */bsStyle: React.PropTypes.oneOf(['default','primary','success','info'])}staticdefaultProps={bsStyle: 'default'}render(){return<div></div>}}
Trying to use the
@Radium
decorator from radiumParsed output:
The text was updated successfully, but these errors were encountered: