Skip to main content

Input.Select

Import

import { Input } from "@dhua5922/react-native-kit";

Examples

Live Editor
function Example() {
  const [chosenOption, setChosenOption] = useState("");

  return (
    <Input.Select value={chosenOption}>
      {["Option 3", "Option 4"].map((option, index) => (
        <Menu.Item key={index} onPress={() => setChosenOption(option)}>
          {option}
        </Menu.Item>
      ))}
    </Input.Select>
  );
}
Result
Loading...

Props

note

Include all props from Input.Text