import React from 'react' ; import { useStepLabelStyles } from './StepLabelStyles' ; import { StepLabelProps } from './StepLabelTypes' ; const StepLabel = ( { children , fontSize , fontWeight , } ) => { const classes = useStepLabelStyles ( { fontSize , fontWeight } ) ; return ( < div className = { classes . LabelContainer } > < span className = { classes . Label } > { children } < /span> < /div>); } ; export default StepLabel ;