fix next/router tests to use FormProps
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
@@ -168,7 +168,10 @@ export interface FieldSchema<TReturn, TUiOptions> {
|
||||
}
|
||||
|
||||
// @alpha
|
||||
export type FormProps = Pick<FormProps_3, 'transformErrors'>;
|
||||
export type FormProps = Pick<
|
||||
FormProps_3,
|
||||
'transformErrors' | 'noHtml5Validate'
|
||||
>;
|
||||
|
||||
// @public
|
||||
export type LayoutComponent<_TInputProps> = () => null;
|
||||
|
||||
@@ -20,4 +20,7 @@ import type { FormProps as SchemaFormProps } from '@rjsf/core-v5';
|
||||
*
|
||||
* @alpha
|
||||
*/
|
||||
export type FormProps = Pick<SchemaFormProps, 'transformErrors'>;
|
||||
export type FormProps = Pick<
|
||||
SchemaFormProps,
|
||||
'transformErrors' | 'noHtml5Validate'
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user