MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Description

Function Description

starters/tailwind/src/Field.tsx:25–36  ·  view source on GitHub ↗
(props: TextProps)

Source from the content-addressed store, hash-verified

23}
24
25export function Description(props: TextProps) {
26 return (
27 <Text
28 {...props}
29 slot="description"
30 className={twMerge(
31 'text-xs text-neutral-600 dark:text-neutral-400 group-disabled:text-neutral-200 dark:group-disabled:text-neutral-700 contain-inline-size',
32 props.className
33 )}
34 />
35 );
36}
37
38export function FieldError(props: FieldErrorProps) {
39 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected