11 lines
477 B
TypeScript
11 lines
477 B
TypeScript
import * as React from 'react';
|
|
import { Primitive } from '@radix-ui/react-primitive';
|
|
|
|
type PrimitiveLabelProps = React.ComponentPropsWithoutRef<typeof Primitive.label>;
|
|
interface LabelProps extends PrimitiveLabelProps {
|
|
}
|
|
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
declare const Root: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
|
|
export { Label, type LabelProps, Root };
|