Skip to content

Commit

Permalink
Merge pull request teslamotors#426 from jkaravakis/patch-2
Browse files Browse the repository at this point in the history
Multistep typing improvements.
  • Loading branch information
joepuzzo authored Oct 26, 2022
2 parents eee7ac0 + 3dcb9c0 commit 892714b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ export function useScoper(name: string): (name: string) => string;

export function useMultistepApi(): MultistepApi;

export function useMultistepState(): MultistepState;

export function useForm<UserProps>(
formProps: InformedProps<UserProps>
): {
Expand Down Expand Up @@ -365,7 +367,7 @@ declare namespace ArrayField {
declare function Multistep({
children
}: {
children: (props: MultistepApi & MultistepState) => JSX.Element;
children: JSX.Element|JSX.Element[];
}): JSX.Element;

declare namespace Multistep {
Expand Down

0 comments on commit 892714b

Please sign in to comment.