import React from 'react' ; import { Prop , PropTable , PropTableWrapper } from '../components' ; const badgeProps = [ { name : 'label' , types : 'string' , description : 'The text applied to the component.' , required : true , } , { name : 'variant' , types : [ 'danger' , 'secondary' , 'success' , 'warning' , 'primary' ] , description : 'Determines which badge to display.' , defaultValue : 'secondary' , } , ] ; export const BadgePropTable = ( props ) => ( < PropTable title = "Badge" propList = { badgeProps } { ... props } />);