UNPKG

@spark-ui/components

Version:

Spark (Leboncoin design system) components.

20 lines (16 loc) 718 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { Label as Label$1 } from 'radix-ui'; import { Ref, ComponentPropsWithRef } from 'react'; type LabelProps = Label$1.LabelProps & { ref?: Ref<HTMLLabelElement>; }; declare const Label: { ({ className, ref, ...others }: LabelProps): react_jsx_runtime.JSX.Element; displayName: string; }; type LabelRequiredIndicatorProps = ComponentPropsWithRef<'span'>; declare const LabelRequiredIndicator: { ({ className, children, ref, ...others }: LabelRequiredIndicatorProps): react_jsx_runtime.JSX.Element; displayName: string; }; export { Label as L, LabelRequiredIndicator as a, type LabelProps as b, type LabelRequiredIndicatorProps as c };