@deep-foundation/deepcase
Version:
[](https://gitpod.io/#https://github.com/deep-foundation/deepcase) [](https://discord.gg/deep-
43 lines (42 loc) • 1.25 kB
TypeScript
import React from 'react';
interface IEditor {
disabled?: boolean;
fillSize?: boolean;
topmenu?: boolean;
borderRadiusEditor?: number;
borderWidthEditor?: string;
paddingEditor?: number;
handleKeyPress?: (event: any) => any;
onChange?: (result: {
value: string;
slateValue: any;
}) => any;
value?: string;
initialValue: any;
onFocusChanged: (isFocused: boolean) => void;
autoFocus?: boolean;
width?: string;
borderColorEditor?: any;
backgroundColorEditor?: any;
EditableProps?: any;
SlateProps?: any;
[key: string]: any;
}
export declare const DeepWysiwyg: React.NamedExoticComponent<IEditor>;
export declare const BlockButton: React.MemoExoticComponent<({ format, icon, colorMode, setColor }: {
format: any;
icon: any;
colorMode?: any;
setColor?: () => any;
}) => import("react/jsx-runtime").JSX.Element>;
export declare const MarkButton: ({ format, icon, colorMode }: {
format: any;
icon: any;
colorMode: any;
}) => import("react/jsx-runtime").JSX.Element;
export declare function useStringSaver(link: any): {
value: string;
setValue: (value: string) => void;
onFocusChanged: (isFocused: boolean) => void;
};
export {};