@project44-manifest/react
Version:
Manifest Design System react components
41 lines • 4.81 kB
TypeScript
import * as React from 'react';
declare const _default: {
title: string;
component: import("../../../system").Component<import("..").ListBoxOptions<"div">>;
subcomponents: {
ListBoxItem: (props: import("../../..").ListBoxItemProps<"div">) => JSX.Element;
ListBoxSection: (props: Omit<import("../../..").ListBoxSectionProps<"div">, "item">) => JSX.Element;
};
};
export default _default;
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
}, "as" | "id" | "aria-describedby" | "aria-details" | "aria-label" | "aria-labelledby" | "children" | "onFocus" | "onBlur" | "css" | "loading" | "autoFocus" | "onFocusChange" | "disallowEmptySelection" | "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys" | "shouldFocusWrap" | "items" | "loadingText" | "noResultsChildren"> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").ListBoxOptions<"div">>;
export declare const Sections: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
}, "as" | "id" | "aria-describedby" | "aria-details" | "aria-label" | "aria-labelledby" | "children" | "onFocus" | "onBlur" | "css" | "loading" | "autoFocus" | "onFocusChange" | "disallowEmptySelection" | "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys" | "shouldFocusWrap" | "items" | "loadingText" | "noResultsChildren"> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").ListBoxOptions<"div">>;
export declare const SingleSelection: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
}, "as" | "id" | "aria-describedby" | "aria-details" | "aria-label" | "aria-labelledby" | "children" | "onFocus" | "onBlur" | "css" | "loading" | "autoFocus" | "onFocusChange" | "disallowEmptySelection" | "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys" | "shouldFocusWrap" | "items" | "loadingText" | "noResultsChildren"> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").ListBoxOptions<"div">>;
export declare const MultipleSelection: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
}, "as" | "id" | "aria-describedby" | "aria-details" | "aria-label" | "aria-labelledby" | "children" | "onFocus" | "onBlur" | "css" | "loading" | "autoFocus" | "onFocusChange" | "disallowEmptySelection" | "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys" | "shouldFocusWrap" | "items" | "loadingText" | "noResultsChildren"> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").ListBoxOptions<"div">>;
export declare const Controlled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
}, "as" | "id" | "aria-describedby" | "aria-details" | "aria-label" | "aria-labelledby" | "children" | "onFocus" | "onBlur" | "css" | "loading" | "autoFocus" | "onFocusChange" | "disallowEmptySelection" | "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys" | "shouldFocusWrap" | "items" | "loadingText" | "noResultsChildren"> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").ListBoxOptions<"div">>;
//# sourceMappingURL=ListBox.stories.d.ts.map