@atlaskit/editor-plugin-floating-toolbar
Version:
Floating toolbar plugin for @atlaskit/editor-core
14 lines (13 loc) • 369 B
TypeScript
import { jsx } from '@emotion/react';
export interface Props {
boundariesElement?: HTMLElement;
defaultValue?: string;
mountPoint?: HTMLElement;
onBlur?: (text: string) => void;
onSubmit?: (text: string) => void;
placeholder?: string;
}
export interface State {
text: string;
}
export declare const Input: (props: Props) => jsx.JSX.Element;