import React from 'react' ; import classnames from 'classnames' ; export interface ListGroupProps extends React . HTMLProps < HTMLElement > { className ? : string ; tag ? : string ; } const ListGroup = ( { tag : Tag = 'div' , className = '' , children , ... otherProps } ) => { return ( < Tag className = { classnames ( 'mdc-list-group' , className ) } { ... otherProps } > { children } < /Tag>); } ; export default ListGroup ;