UNPKG

@atlaskit/editor-plugin-floating-toolbar

Version:

Floating toolbar plugin for @atlaskit/editor-core

13 lines (12 loc) 460 B
import React from 'react'; import type { IntlShape } from 'react-intl'; import type { Node } from '@atlaskit/editor-prosemirror/model'; type ScrollButtonProps = { disabled: boolean; intl: IntlShape; node: Node; scrollContainerRef: React.RefObject<HTMLDivElement>; side: 'left' | 'right'; }; export declare const ScrollButton: ({ intl, scrollContainerRef, node, disabled, side, }: ScrollButtonProps) => false | React.JSX.Element; export {};