UNPKG

terra-table

Version:

The Terra Table component provides user a way to display data in an accessible table format.

15 lines (12 loc) 284 B
import PropTypes from 'prop-types'; const actionShape = PropTypes.shape({ /** * The label for the action button. */ label: PropTypes.string.isRequired, /** * The callback for action onClick. */ onClick: PropTypes.func.isRequired, }); export default actionShape;