Skip to main content

Variable: TextField

const TextField: ForwardRefExoticComponent<TextFieldProps & object & RefAttributes<TextInput>>

Defined in: packages/@mapples/ui/src/components/form/TextField/TextField.tsx:37

A customizable text input component with built-in styling support.

The TextField component extends React Native's TextInput with additional styling capabilities through the @mapples/style system. It supports all standard TextField properties and behaviors.

Example​

<TextField
placeholder="Enter your text"
value={text}
onChangeText={setText}
styled={{
style: {
borderWidth: 1,
borderColor: 'gray',
padding: 12,
borderRadius: 8
}
}}
/>