MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / ModalProps

Interface ModalProps

app/components/ui-lib.tsx:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114interface ModalProps {
115 title: string;
116 children?: any;
117 actions?: React.ReactNode[];
118 defaultMax?: boolean;
119 footer?: React.ReactNode;
120 onClose?: () => void;
121}
122export function Modal(props: ModalProps) {
123 useEffect(() => {
124 const onKeyDown = (e: KeyboardEvent) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected