implementing pages and styles

This commit is contained in:
gustavo-em
2022-02-24 16:03:28 -03:00
parent 7157c984aa
commit 6a5acf1084
16 changed files with 565 additions and 43 deletions

View File

@@ -0,0 +1,21 @@
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>
</>
)
}