How can I can do If state to props
<S.LabelInput {...otherProps.value.length ? 'shrink' : ''}>{label}</S.LabelInput>
like you made if to class.