gestalt
Version:
A set of React UI components which enforce Pinterest's design language
24 lines (23 loc) • 689 B
TypeScript
import { ReactNode } from 'react';
type Props = {
/**
* One or more SelectList.Option components.
*/
children: ReactNode;
/**
* Used to disable the entire group of options.
*/
disabled?: boolean;
/**
* The label for the group. Don't forget to localize!
*/
label: string;
};
/**
* Use [SelectList.Group](https://gestalt.pinterest.systems/selectlist#SelectList.Group) to group a subset of the options within SelectList.
*/
declare function SelectListGroup({ children, disabled, label }: Props): import("react/jsx-runtime").JSX.Element;
declare namespace SelectListGroup {
var displayName: string;
}
export default SelectListGroup;