diff --git a/src/components/DescriptionList/Description.js b/src/components/DescriptionList/Description.js index 1061e1a6ae6453d4bf5bfc5e621fa5f0c62c3db6..e024796e270f3b9747949bf139a6473ebb91583b 100644 --- a/src/components/DescriptionList/Description.js +++ b/src/components/DescriptionList/Description.js @@ -17,18 +17,10 @@ const Description = ({ term, column, className, children, ...restProps }) => { Description.defaultProps = { term: '', - children: '', }; Description.propTypes = { - term: PropTypes.oneOfType([ - PropTypes.string, - PropTypes.element, - ]), - children: PropTypes.oneOfType([ - PropTypes.string, - PropTypes.element, - ]), + term: PropTypes.node, }; export default Description;