Link Search Menu Expand Document (external link)

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

ConditionalRoute() function

Signature:

export declare function ConditionalRoute(props: {
    title: string;
    condition: string;
    type: string;
    children: ReactElement<any, any>;
}): React.ReactElement<any, any>;

Parameters

Parameter Type Description
props { title: string; condition: string; type: string; children: ReactElement<any, any>; }  

Returns:

React.ReactElement<any, any>