Link Search Menu Expand Document (external link)

Home > @department-of-veterans-affairs/va-forms-system-core > FullNameProps

FullNameProps type

Signature:

export declare type FullNameProps = FieldProps<string> & {
    legend: string;
    legendClasses: string;
};

References: FieldProps

Remarks

The name prop must be passed in FullNameField component as it is used as object name.

Example

Here’s a simple example:

// <FullNameField name="fullName">
{
   fullName: {
     // fields
   }
}