import React from 'react' ; import classnames from 'classnames' ; export interface ListDividerProps extends React . HTMLProps < HTMLElement > { className ? : string ; tag ? : string ; role ? : string ; } const ListDivider = ( { tag : Tag = 'li' , className = '' , role = 'separator' , ... otherProps } ) => { return ( < Tag className = { classnames ( 'mdc-list-divider' , className ) } role = { role } { ... otherProps } />); } ; export default ListDivider ;