UNPKG

@fortune-sheet/react

Version:

FortuneSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets

12 lines (11 loc) 487 B
import React from "react"; declare type ContentEditableProps = Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & { initialContent?: string; innerRef?: (e: HTMLDivElement | null) => void; onChange?: (html: string, isBlur?: boolean) => void; onBlur?: (e: React.FocusEvent<HTMLDivElement, Element>) => void; autoFocus?: boolean; allowEdit?: boolean; }; declare const ContentEditable: React.FC<ContentEditableProps>; export default ContentEditable;