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