UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

34 lines 1.77 kB
import React from 'react'; import { AppLayoutProps } from '../../interfaces'; import { OnChangeParams } from '../../utils/use-drawers'; import { Focusable, FocusControlMultipleStates } from '../../utils/use-focus-control'; import { AppLayoutInternals } from '../interfaces'; import { SplitPanelToggleProps } from './drawer-triggers'; export { SplitPanelToggleProps }; export interface ToolbarProps { ariaLabels?: AppLayoutProps.Labels; hasNavigation?: boolean; navigationOpen?: boolean; onNavigationToggle?: (open: boolean) => void; navigationFocusRef?: React.Ref<Focusable>; hasBreadcrumbsPortal?: boolean; hasSplitPanel?: boolean; splitPanelToggleProps?: SplitPanelToggleProps; splitPanelFocusRef?: React.Ref<Focusable>; onSplitPanelToggle?: () => void; activeDrawerId?: string | null; drawers?: ReadonlyArray<AppLayoutProps.Drawer>; drawersFocusRef?: React.Ref<Focusable>; globalDrawersFocusControl?: FocusControlMultipleStates; onActiveDrawerChange?: (drawerId: string | null, params: OnChangeParams) => void; globalDrawers?: ReadonlyArray<AppLayoutProps.Drawer> | undefined; activeGlobalDrawersIds?: ReadonlyArray<string>; onActiveGlobalDrawersChange?: ((drawerId: string, params: OnChangeParams) => void) | undefined; } export interface AppLayoutToolbarImplementationProps { appLayoutInternals: AppLayoutInternals; toolbarProps: ToolbarProps; } export declare function AppLayoutToolbarImplementation({ appLayoutInternals, toolbarProps, }: AppLayoutToolbarImplementationProps): JSX.Element; export declare const createWidgetizedAppLayoutToolbar: (Loader?: typeof AppLayoutToolbarImplementation | undefined) => typeof AppLayoutToolbarImplementation; //# sourceMappingURL=index.d.ts.map