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

13 lines • 449 B
/// <reference types="react" /> export type YooptaMark<TProps> = { type: string; hotkey?: string; render: (props: TProps) => JSX.Element; }; export type YooptaMarkParams<TProps> = { type: string; hotkey?: string; render: (props: TProps) => JSX.Element; }; export declare function createYooptaMark<TProps>({ type, hotkey, render }: YooptaMarkParams<TProps>): YooptaMark<TProps>; //# sourceMappingURL=index.d.ts.map