MCPcopy Create free account
hub / github.com/code100x/cms / ModalProps

Interface ModalProps

src/components/Modal.tsx:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React, { forwardRef } from 'react';
2
3interface ModalProps {
4 children: React.ReactNode;
5 onClose: () => void;
6}
7
8const Modal = forwardRef<HTMLDialogElement, ModalProps>(
9 (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected