import styles from './ResourceLabel.module.css' ; interface Props { text : string ; } const ResourceLabel = ( props ) => ( < span className = { `text-truncate border fw-bold ${ styles . label }` } > { props . text } < /span>); export default ResourceLabel ;