Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 687 Bytes

File metadata and controls

26 lines (19 loc) · 687 Bytes

import * as UI from '../../src/index'

import { Canvas, Meta, Story } from "@storybook/addon-docs";

Header

export const headerDecorator = (Story) => { setTimeout(() => Story(), 1); return '

The above div with ID "PageHeader" is replaced by the header component
'; };

To experience the full behaviour of the header, you need to log in. This can be done at the example page.

{() => { const options = {}; UI.initHeader(SolidLogic.store, options); }}