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

Function FieldError

starters/tailwind/src/Field.tsx:38–48  ·  view source on GitHub ↗
(props: FieldErrorProps)

Source from the content-addressed store, hash-verified

36}
37
38export function FieldError(props: FieldErrorProps) {
39 return (
40 <RACFieldError
41 {...props}
42 className={composeTailwindRenderProps(
43 props.className,
44 'text-xs text-red-600 contain-inline-size forced-colors:text-[Mark]'
45 )}
46 />
47 );
48}
49
50export const fieldBorderStyles = tv({
51 base: 'transition',

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected