import { IconProp } from '@fortawesome/fontawesome-svg-core' ; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ; import React from 'react' ; import { TupleMoreActionButton } from './widgets' ; export const TupleMoreButton = ( props ) => { const { label , icon , action } = props ; return < TupleMoreActionButton onClick = { action } > < FontAwesomeIcon icon = { icon } /> < span > { label } < /span> < /TupleMoreActionButton>; } ;