MCPcopy Create free account
hub / github.com/clerk/javascript / FieldState

Function FieldState

packages/elements/src/react/common/form/index.tsx:549–561  ·  view source on GitHub ↗

* Programmatically access the state of the wrapping ` `. Useful for implementing animations when direct access to the state value is necessary. * * @param {Function} children - A function that receives `state`, `message`, and `codes` as an argument. `state` will is a union of `"success" | "e

({ children }: FieldStateRenderFn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

useFieldContextFunction · 0.85
useFieldFeedbackFunction · 0.85
useValidityStateContextFunction · 0.85
enrichFieldStateFunction · 0.85
useFieldStateFunction · 0.70

Tested by

no test coverage detected