UNPKG

@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

15 lines • 618 B
import { CSSProperties, ReactNode } from 'react'; import { YooptaMark } from '../../marks'; type Props = { marks?: YooptaMark<any>[]; selectionBoxRoot?: HTMLElement | React.MutableRefObject<HTMLElement | null> | false; autoFocus?: boolean; className?: string; placeholder?: string; width?: number | string; children: ReactNode; style?: CSSProperties; }; declare const Editor: ({ placeholder, marks, className, selectionBoxRoot, width, style, children, autoFocus, }: Props) => import("react/jsx-runtime").JSX.Element; export { Editor }; //# sourceMappingURL=Editor.d.ts.map