@yoopta/editor
Version:
<h2 align="center">Yoopta-Editor v1 🎉</h2> <p align="center">Yoopta-Editor - is an open source notion-like editor 💥</p> <div align="center"> <img width="574" alt="Screen Shot 2023-01-25 at 16 04 29" src="https://user-images.githubusercontent.com/2909311
25 lines • 1.15 kB
TypeScript
import { CSSProperties } from 'react';
declare const BlockOptionsMenuGroup: ({ children }: {
children: any;
}) => import("react/jsx-runtime").JSX.Element;
declare const BlockOptionsMenuContent: ({ children }: {
children: any;
}) => import("react/jsx-runtime").JSX.Element;
declare const BlockOptionsMenuItem: ({ children }: {
children: any;
}) => import("react/jsx-runtime").JSX.Element;
type BlockOptionsSeparatorProps = {
className?: string;
};
declare const BlockOptionsSeparator: ({ className }: BlockOptionsSeparatorProps) => import("react/jsx-runtime").JSX.Element;
export type BlockOptionsProps = {
isOpen: boolean;
onClose: () => void;
refs: any;
style: CSSProperties;
children?: React.ReactNode;
actions?: ['delete', 'duplicate', 'turnInto', 'copy'] | null;
};
declare const BlockOptions: ({ isOpen, onClose, refs, style, actions, children }: BlockOptionsProps) => import("react/jsx-runtime").JSX.Element | null;
export { BlockOptions, BlockOptionsMenuContent, BlockOptionsMenuGroup, BlockOptionsMenuItem, BlockOptionsSeparator };
//# sourceMappingURL=BlockOptions.d.ts.map