fix next/router tests to use FormProps

Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
Paul Cowan
2022-12-20 10:23:38 +00:00
parent 90b677a967
commit 0f797c07f1
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -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;
+4 -1
View File
@@ -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'
>;