UNPKG

@atlaskit/page-layout

Version:

A collection of components which let you compose an application's page layout.

33 lines (32 loc) 867 B
export type SkipLinkContextProps = { skipLinksData: SkipLinkData[]; registerSkipLink: (skipLinkDate: SkipLinkData) => void; unregisterSkipLink: (id: string | undefined) => void; }; export type SkipLinkData = { /** * id for the element that will be skipped to */ id: string; /** * Text for the link that will appear in the skip link menu */ skipLinkTitle: string; /** * Desired position in the skip link menu */ listIndex?: number; }; /** * @deprecated `@atlaskit/page-layout` is deprecated. Use `@atlaskit/navigation-system` instead. */ export type LeftSidebarState = { isFlyoutOpen: boolean; isResizing: boolean; isLeftSidebarCollapsed: boolean; leftSidebarWidth: number; lastLeftSidebarWidth: number; flyoutLockCount: number; isFixed: boolean; hasInit: boolean; };