import React from 'react' ; import classnames from 'classnames' ; export interface DrawerSubTitleProps { tag ? : string ; className ? : string ; } const DrawerSubTitle = ( { tag : Tag = 'h6' , children , className = '' , ... otherProps } ) => { return ( < Tag className = { classnames ( 'mdc-drawer__subtitle' , className ) } { ... otherProps } > { children } < /Tag>); } ; export default DrawerSubTitle ;