Input
Inputs allow users to enter text into a UI.

View full example: Input Example
import React from 'react';
import { View } from 'react-native';
import { Input } from 'monalisa-ui';
const Example = () => (
<View>
<Input
placeholder="Input value"
/>
<Input
transparent
placeholder="Input transparent"
/>
<Input
label="Username"
placeholder="Input transparent"
/>
</View>
);
export default Example;Configuration
Property
Default
Option
Description
leftIcon
-
element
Displays Icon to the left of input
rightIcon
-
element
Displays Icon to the right of input
transparent
false
boolean
Remove border bottom
style
-
-
Style for the col
error
-
string
Error message input
errorStyle
-
-
Style for the error message
label
-
string
Set label input
labelStyle
-
-
Style for the label
Example
input error
input icon
Last updated