UNPKG

@atlaskit/editor-plugin-base

Version:

Base plugin for @atlaskit/editor-core

7 lines 306 B
import { getScrollGutterPluginState } from '../plugin-key'; export var getKeyboardHeight = function getKeyboardHeight(state) { if (state) { var scrollGutterPluginState = getScrollGutterPluginState(state); return scrollGutterPluginState ? scrollGutterPluginState.keyboardHeight : undefined; } };