Skip to content

Commit

Permalink
Fix proptype specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Mar 2, 2021
1 parent 2a7b674 commit e534ef6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/ItemTableCell/ItemTableCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ export default function ItemTableCell({ children, TableCellProps }) {

ItemTableCell.propTypes = {
/** Child object passed to display cell data. */
"children": PropTypes.object,
"children": PropTypes.oneOfType([
PropTypes.string,
PropTypes.number,
PropTypes.element
]),
/** Props applied to the TableCell component. */
"TableCellProps": PropTypes.object
};
Expand Down

0 comments on commit e534ef6

Please sign in to comment.