text-editor-drcsystems
Version:
Text Editor Made with Love by DRC Systems
16 lines (15 loc) • 456 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import './Modal.css';
import { ReactNode } from 'react';
export default function Modal({ onClose, children, title, closeOnClickOutside, }: {
children: ReactNode;
closeOnClickOutside?: boolean;
onClose: () => void;
title: string;
}): JSX.Element;