UNPKG

baseui

Version:

A React Component library implementing the Base design language

28 lines (27 loc) 1.86 kB
import type { Item, ArrayItems, GroupedItems, GetRequiredItemPropsFn, Items, MenuProps, StatefulContainerProps, StateReducerFn } from './types'; export { default as StatefulMenu } from './stateful-menu'; export { default as StatefulContainer } from './stateful-container'; export { default as OptionList } from './option-list'; export { default as OptionProfile } from './option-profile'; export { default as Menu } from './menu'; export { default as NestedMenus, NestedMenuContext, type NestedMenuState, type NestedMenuProps, } from './nested-menus'; export { KEY_STRINGS, STATE_CHANGE_TYPES } from './constants'; export { StyledEmptyState, StyledList, StyledListItem, StyledListItemProfile, StyledProfileImgContainer, StyledProfileImg, StyledProfileLabelsContainer, StyledProfileTitle, StyledProfileSubtitle, StyledProfileBody, StyledMenuDivider, } from './styled-components'; export * from './types'; export type { MenuLocale } from './locale'; /** @deprecated use Item instead. To be removed in future versions.*/ export type ItemT = Item; /** @deprecated use ArrayItems instead. To be removed in future versions.*/ export type ArrayItemsT = ArrayItems; /** @deprecated use GroupedItems instead. To be removed in future versions.*/ export type GroupedItemsT = GroupedItems; /** @deprecated use Items instead. To be removed in future versions.*/ export type ItemsT = Items; /** @deprecated To be removed in future versions.*/ export type BaseMenuPropsT = MenuProps; /** @deprecated To be removed in future versions.*/ export type OnItemSelect = StatefulContainerProps['onItemSelect']; /** @deprecated use StateReducerFn instead. To be removed in future versions.*/ export type StateReducer = StateReducerFn; /** @deprecated use GetRequiredItemPropsFn instead. To be removed in future versions.*/ export type GetRequiredItemProps = GetRequiredItemPropsFn;