import React from 'react' ; import { Code , Prop , PropTable , PropTableWrapper } from '../components' ; const panelProps = [ { name : 'header' , types : 'string' , description : ( < > Defines the < Code primary > Panel < / Code > header text . < />), } , { name : 'headerId' , types : 'string' , description : ( < > Gives the header a HTML < Code > id < /Code> attribute. Useful if you need to use hash navigation to a{' '} < Code primary > Panel < /Code> header. < />), } , { name : 'action' , types : 'ButtonProps & { text: string }' , description : ( < > Defines the < Code primary > Panel < /Code> action button. < />), } , ] ; export const PanelPropTable = ( props ) => ( < PropTable title = "Panel" propList = { panelProps } { ... props } />);