MCPcopy Create free account
hub / github.com/conaticus/FileExplorer / Props

Interface Props

src/components/InputModal.tsx:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import Button, {ButtonSize} from "../ui/Button";
4
5interface Props {
6 title: string;
7 submitName: string;
8 onSubmit: (value: string) => unknown;
9 shown: boolean;
10 setShown: (shown: boolean) => unknown;
11}
12
13export default function InputModal({ shown, setShown, title, onSubmit, submitName }: Props) {
14 const [inputValue, setInputValue] = useState("");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected