@@ -11,21 +11,21 @@ export type FormProps<Inf = Record<string, unknown>> = {
1111 validationSchema ?: ObjectSchema < any > ;
1212} & svelte . JSX . HTMLAttributes < HTMLFormElement > ;
1313
14- type FieldProps = {
14+ type FieldProperties = {
1515 name : string ;
1616 type ?: string ;
1717 value ?: string ;
1818} & svelte . JSX . HTMLProps < HTMLInputElement > ;
1919
20- type SelectProps = {
20+ type SelectProperties = {
2121 name : string ;
2222} & svelte . JSX . HTMLProps < HTMLSelectElement > ;
2323
24- type ErrorProps = {
24+ type ErrorProperties = {
2525 name : string ;
2626} & svelte . JSX . HTMLProps < HTMLDivElement > ;
2727
28- type TextareaProps = {
28+ type TextareaProperties = {
2929 name : string ;
3030} & svelte . JSX . HTMLProps < HTMLTextAreaElement > ;
3131
@@ -58,7 +58,7 @@ type FormState<Inf = Record<string, any>> = {
5858 handleSubmit : ( event : Event ) => any ;
5959} ;
6060
61- declare function createForm < Inf = Record < string , any > > ( formProps : {
61+ declare function createForm < Inf = Record < string , any > > ( formProperties : {
6262 initialValues : Inf ;
6363 onSubmit : ( values : Inf ) => any | Promise < any > ;
6464 validate ?: ( values : Inf ) => any | undefined ;
@@ -74,25 +74,25 @@ declare class Form extends SvelteComponentTyped<
7474> { }
7575
7676declare class Field extends SvelteComponentTyped <
77- FieldProps ,
77+ FieldProperties ,
7878 Record < string , unknown > ,
7979 Record < string , unknown >
8080> { }
8181
8282declare class Textarea extends SvelteComponentTyped <
83- TextareaProps ,
83+ TextareaProperties ,
8484 Record < string , unknown > ,
8585 Record < string , unknown >
8686> { }
8787
8888declare class Select extends SvelteComponentTyped <
89- SelectProps ,
89+ SelectProperties ,
9090 Record < string , unknown > ,
9191 { default : any }
9292> { }
9393
9494declare class ErrorMessage extends SvelteComponentTyped <
95- ErrorProps ,
95+ ErrorProperties ,
9696 Record < string , unknown > ,
9797 { default : any }
9898> { }
0 commit comments