MCPcopy Create free account
hub / github.com/dhavalCode/ai-image-generator / ErrorModalProps

Interface ErrorModalProps

client/src/components/ErrorModal.tsx:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5// ------------------------------------------------------------
6
7interface ErrorModalProps {
8 open: boolean
9 setIsOpen: React.Dispatch<React.SetStateAction<boolean>>
10}
11
12const ErrorModal: React.FC<ErrorModalProps> = ({ open, setIsOpen }) => {
13 const modalRef = useRef<HTMLDivElement>(null)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected