UNPKG

@atlaskit/editor-plugin-base

Version:

Base plugin for @atlaskit/editor-core

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