fixing_capitalize_of_input

This commit is contained in:
gustavo-em
2022-03-04 14:47:35 -03:00
parent acd18006fc
commit 4cdf612f0f
4 changed files with 26339 additions and 6 deletions

View File

@@ -7,15 +7,16 @@ type IInputText = {
label: string;
onChangeText?: any,
value?: any
autoCapitalize?: "none"
}
export const InputText = (props: IInputText)=>{
const {children, placeholder, label, onChangeText, value} = props
const {children, placeholder, label, onChangeText, value, autoCapitalize} = props
return (
<>
<LabelInput>{props.label}</LabelInput>
<WrapperInputText value={props.value} onChangeText={props.onChangeText} placeholder={props.placeholder}></WrapperInputText>
<WrapperInputText autoCapitalize={props.autoCapitalize} value={props.value} onChangeText={props.onChangeText} placeholder={props.placeholder}></WrapperInputText>
</>
)
}