Skip to content

Commit

Permalink
Export ComponentRegistry in ts
Browse files Browse the repository at this point in the history
  • Loading branch information
holubv committed Apr 14, 2021
1 parent 6873f88 commit d7040ca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types/s-forms.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ export class FormUtils {
static testCondition(condition): boolean;
}

export class ComponentRegistry {

static registerComponent(component, mapRule): void;

static mapComponent(question, index, def): any;
}

declare const SForms: React.ForwardRefExoticComponent<SFormsProps>;

export default SForms;

0 comments on commit d7040ca

Please sign in to comment.