import { HTMLAttributes, memo, PropsWithChildren } from 'react'; import { cx } from '../../../../common/utils/styleUtils'; import style from './TextLikeInput.module.scss'; export default memo(TextLikeInput); interface TextLikeInputProps extends HTMLAttributes { muted?: boolean; } function TextLikeInput(props: PropsWithChildren) { const { muted, children, className, ...elementProps } = props; const classes = cx([style.textInput, muted && style.muted, className]); return (
{children}
); }