Buckets:
Quantumbraid/trainingdata / ui /node_modules /@headlessui /react /dist /components /label /label.d.ts
| import React, { type ElementType, type ReactNode, type Ref } from 'react'; | |
| import type { Props } from '../../types.js'; | |
| import { type HasDisplayName, type RefProp } from '../../utils/render.js'; | |
| interface SharedData { | |
| slot?: {}; | |
| name?: string; | |
| props?: Record<string, any>; | |
| } | |
| export declare function useLabelContext(): { | |
| value: string | undefined; | |
| register(value: string): () => void; | |
| } & SharedData; | |
| export declare function useLabelledBy(alwaysAvailableIds?: (string | undefined | null)[]): string | undefined; | |
| interface LabelProviderProps extends SharedData { | |
| children: ReactNode; | |
| value?: string | undefined; | |
| } | |
| export declare function useLabels({ inherit }?: { | |
| inherit?: boolean | undefined; | |
| }): [ | |
| string | undefined, | |
| (props: LabelProviderProps & { | |
| inherit?: boolean; | |
| }) => React.JSX.Element | |
| ]; | |
| declare let DEFAULT_LABEL_TAG: "label"; | |
| export type LabelProps<TTag extends ElementType = typeof DEFAULT_LABEL_TAG> = Props<TTag> & { | |
| passive?: boolean; | |
| htmlFor?: string; | |
| }; | |
| declare function LabelFn<TTag extends ElementType = typeof DEFAULT_LABEL_TAG>(props: LabelProps<TTag>, ref: Ref<HTMLLabelElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null; | |
| export interface _internal_ComponentLabel extends HasDisplayName { | |
| <TTag extends ElementType = typeof DEFAULT_LABEL_TAG>(props: LabelProps<TTag> & RefProp<typeof LabelFn>): React.JSX.Element; | |
| } | |
| export declare let Label: _internal_ComponentLabel; | |
| export {}; | |
Xet Storage Details
- Size:
- 1.5 kB
- Xet hash:
- 63056f251d8e4545284f961bdc2ed6c7a310a488afc951134baf99ef6d6e3889
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.