import React, { useState } from "react"; import { action } from "storybook/actions"; import { InputSearch } from "@jobber/components-native"; import type { InputSearchProps } from "@jobber/components-native"; type InputSearchStoryArgs = Pick; export function InputSearchBasic(props: Partial) { const [value, setValue] = useState(""); return ( setValue(newValue)} onDebouncedChange={() => action("alert")(value)} /> ); }