@uva-glass/component-library
Version:
React components UvA
18 lines (17 loc) • 946 B
TypeScript
import { PropsWithChildren, ReactNode } from 'react';
import { MultiSelectItem } from 'components/MultiSelect/components/MultiSelectItem';
import { MultiSelectHeader } from 'components/MultiSelect/components/MultiSelectHeader';
export interface MultiSelectProps {
/** `true` if the container should scroll on overflow; otherwise, `false` to resize the container to its contents. The default is `true`. */
scrollable?: boolean;
/** `true` to disable the border around the container; otherwise, `false`. The default is `false`. */
noBorder?: boolean;
/** The header contents. */
header?: ReactNode;
}
/** Represents a component to list a number of checkboxes. */
export declare const MultiSelect: {
({ scrollable, noBorder, header, children }: PropsWithChildren<MultiSelectProps>): import("react/jsx-runtime").JSX.Element;
MultiSelectHeader: typeof MultiSelectHeader;
MultiSelectItem: typeof MultiSelectItem;
};