Skip to content

Commit

Permalink
Addon-info: Fix "The prop 'children' is marked as required in '… (#8745)
Browse files Browse the repository at this point in the history
Addon-info: Fix "The prop 'children' is marked as required in 'Td'"
  • Loading branch information
shilman committed Nov 9, 2019
1 parent b430c32 commit ce8342a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/info/src/components/PropTable/components/Td.js
Expand Up @@ -12,12 +12,13 @@ Td.propTypes = {
PropTypes.element,
PropTypes.arrayOf(PropTypes.node),
PropTypes.arrayOf(PropTypes.element),
]).isRequired,
]),
isMonospace: PropTypes.bool,
};

Td.defaultProps = {
isMonospace: false,
children: null,
};

export default Td;

0 comments on commit ce8342a

Please sign in to comment.