UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

17 lines (16 loc) 567 B
/// <reference types="react" /> /** * This decorator displays current story name, package version and imported editor-core version. * To use this decorator, call addDecorator() in your storybook, like so: * * import { version } from '../src'; * import { nameAndVersionStoryDecorator } from '@atlaskit/editor-core/test-helper'; * * storiesOf(name, module) * .addDecorator(nameAndVersionStoryDecorator(version)) * */ export default function (packageVersion: any): (story: Function, context: { kind: string; story: string; }) => JSX.Element;