import React from 'react' ; import styles from './index.module.scss' ; interface Props { title : string | React . ReactNode ; aside ? : React . ReactNode ; } export default function HeaderTitle ( props ) { return ( < div className = { styles [ 'title' ] } > { props . title } { props . aside } < /div>); }