import { SmallTitleWithText , SmallTitleWithTextProps , } from '@energyweb/origin-ui-core' ; import { makeStyles } from '@mui/styles' ; import React , { FC } from 'react' ; type StyledTitleAndTextProps = SmallTitleWithTextProps ; const useStyles = makeStyles ( { blockItem : { padding : '18px 26px' , } , } ) ; export const StyledTitleAndText = ( props ) => { const classes = useStyles ( ) ; return ( < SmallTitleWithText { ... props } wrapperProps = { { className : classes . blockItem } } />); } ;