@lynxts/core • Docs
@lynxts/core / Field
Field<
T
,K
,D
>(props
):ReactElement
<any
,string
|JSXElementConstructor
<any
>>
Helper component for rendering fields with finner control over the re-renders
• T extends Struct
struct type of the form values
• K extends string
the type of the path of the field
• D = Optional
<ValueByPath
<T
, K
>>
• props: FieldProps
<T
, K
, D
>
the field props
ReactElement
<any
, string
| JSXElementConstructor
<any
>>