import React from 'react'; import { Input, InputGroup, InputLeftAddon, InputRightAddon, Stack, Text, Center, Heading, Button, Icon, } from '@native-base/v3'; export const DefaultInput = () => { return ; }; export const SizeInput = () => { return (
Size Input
); }; export const VariantInput = () => { return (
Input Variants
); }; export const InputAddons = () => { return ( https://} /> .io} /> ); }; export const InputELements = () => { return ( } InputRightElement={ } placeholder="Left and Right InputElement" /> ); }; export const PasswordInput = () => { const [show, setShow] = React.useState(false); const handleClick = () => setShow(!show); return ( {show ? 'Hide' : 'Show'} } placeholder="Password" /> ); }; export const ControlledInput = () => { const [value, setValue] = React.useState(''); const handleChange = (event: any) => setValue(event.target.value); return ( ); }; export const FocusErrorBorderColor = () => { return ( ); };