import React from 'react' import useTheme from '../styles/use-theme' export interface InputLabel { isRight?: boolean fontSize: string } const InputLabel: React.FC> = ({ children, isRight, fontSize, }) => { const theme = useTheme() return ( {children} ) } const MemoInputLabel = React.memo(InputLabel) export default MemoInputLabel