slate-devtools
Version:
`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code
15 lines • 486 B
TypeScript
import React from "react";
/**
* TODO:
*
* [ ] Better Feedback for the error instead of just console.error
* [ ] Making the modal draggable anywhere
*
*/
declare type Props = {
setShowModal: React.Dispatch<React.SetStateAction<boolean>>;
referenceElement: HTMLElement | null;
};
export declare const AddPropertiesModal: ({ setShowModal, referenceElement, }: Props) => import("react").ReactPortal;
export {};
//# sourceMappingURL=addPropertiesModal.d.ts.map