|
@@ -17,18 +17,10 @@ const Description = ({ term, column, className, children, ...restProps }) => {
|
|
|
|
|
|
|
|
Description.defaultProps = {
|
|
Description.defaultProps = {
|
|
|
term: '',
|
|
term: '',
|
|
|
- children: '',
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
Description.propTypes = {
|
|
Description.propTypes = {
|
|
|
- term: PropTypes.oneOfType([
|
|
|
|
|
- PropTypes.string,
|
|
|
|
|
- PropTypes.element,
|
|
|
|
|
- ]),
|
|
|
|
|
- children: PropTypes.oneOfType([
|
|
|
|
|
- PropTypes.string,
|
|
|
|
|
- PropTypes.element,
|
|
|
|
|
- ]),
|
|
|
|
|
|
|
+ term: PropTypes.node,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export default Description;
|
|
export default Description;
|