Buckets:
Quantumbraid/trainingdata / ui /node_modules /react-select /dist /declarations /src /components /Group.d.ts
| /** @jsx jsx */ | |
| import { ComponentType, JSX, ReactNode } from 'react'; | |
| import { jsx } from '@emotion/react'; | |
| import { CommonProps, CommonPropsAndClassName, CSSObjectWithLabel, CX, GetStyles, GroupBase, Options, Theme } from '../types'; | |
| import { Props } from '../Select'; | |
| export interface ForwardedHeadingProps<Option, Group extends GroupBase<Option>> { | |
| id: string; | |
| data: Group; | |
| } | |
| export interface GroupProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> extends CommonPropsAndClassName<Option, IsMulti, Group> { | |
| /** The children to be rendered. */ | |
| children: ReactNode; | |
| /** Component to wrap the label, receives headingProps. */ | |
| Heading: ComponentType<GroupHeadingProps<Option, IsMulti, Group>>; | |
| /** Props to pass to Heading. */ | |
| headingProps: ForwardedHeadingProps<Option, Group>; | |
| /** Props to be passed to the group element. */ | |
| innerProps: JSX.IntrinsicElements['div']; | |
| /** Label to be displayed in the heading component. */ | |
| label: ReactNode; | |
| /** The data of the group. */ | |
| data: Group; | |
| options: Options<Option>; | |
| } | |
| export declare const groupCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ theme: { spacing } }: GroupProps<Option, IsMulti, Group>, unstyled: boolean) => CSSObjectWithLabel; | |
| declare const Group: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: GroupProps<Option, IsMulti, Group>) => jsx.JSX.Element; | |
| interface GroupHeadingPropsDefinedProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> extends ForwardedHeadingProps<Option, Group> { | |
| className?: string | undefined; | |
| selectProps: Props<Option, IsMulti, Group>; | |
| theme: Theme; | |
| getStyles: GetStyles<Option, IsMulti, Group>; | |
| getClassNames: CommonProps<Option, IsMulti, Group>['getClassNames']; | |
| cx: CX; | |
| } | |
| export declare type GroupHeadingProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> = GroupHeadingPropsDefinedProps<Option, IsMulti, Group> & JSX.IntrinsicElements['div']; | |
| export declare const groupHeadingCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ theme: { colors, spacing } }: GroupHeadingProps<Option, IsMulti, Group>, unstyled: boolean) => CSSObjectWithLabel; | |
| export declare const GroupHeading: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: GroupHeadingProps<Option, IsMulti, Group>) => jsx.JSX.Element; | |
| export default Group; | |
Xet Storage Details
- Size:
- 2.53 kB
- Xet hash:
- 05eaa816f101d2fb8d16512e9a6c1c4251afebc3f7ee497e6eb4143d81d3b0d8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.