Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 940 Bytes

Field.md

File metadata and controls

37 lines (19 loc) · 940 Bytes

@lynxts/coreDocs


@lynxts/core / Field

Function: Field()

Field<T, K, D>(props): ReactElement<any, string | JSXElementConstructor<any>>

Helper component for rendering fields with finner control over the re-renders

Type Parameters

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>>

Parameters

props: FieldProps<T, K, D>

the field props

Returns

ReactElement<any, string | JSXElementConstructor<any>>

Defined in

components/Field.component.tsx:79