Files
bigbluebutton-tablet/react-native/app/components/input/text/component.tsx
2022-02-24 16:03:28 -03:00

21 lines
573 B
TypeScript

import React from 'react'
import { LabelInput, WrapperInputText } from './styles';
type IInputText = {
children?: object;
placeholder: string;
label: string;
onChangeText?: any,
value?: any
}
export const InputText = (props: IInputText)=>{
const {children, placeholder, label, onChangeText, value} = props
return (
<>
<LabelInput>{props.label}</LabelInput>
<WrapperInputText value={props.value} onChangeText={props.onChangeText} placeholder={props.placeholder}></WrapperInputText>
</>
)
}