Skip to content

Commit

Permalink
added useScopedState to allow users to get access to scoped values
Browse files Browse the repository at this point in the history
  • Loading branch information
joepuzzo committed Feb 23, 2023
1 parent edb7956 commit 329ce1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ export function useScope(name: string): string;

export function useScoper(name: string): (name: string) => string;

export function useScopedState(): FieldState;

export function useMultistepApi(): MultistepApi;

export function useMultistepState(): MultistepState;
Expand Down Expand Up @@ -514,9 +516,7 @@ declare namespace utils {

export function SchemaFields(): JSX.Element;

type DebugProps = {
[FormStateKey in keyof FormState]?: boolean;
};
type DebugProps = { [FormStateKey in keyof FormState]?: boolean };
export function Debug(props: DebugProps): JSX.Element;

// export class Elon {
Expand Down

0 comments on commit 329ce1a

Please sign in to comment.