-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added export to the core input components
- Loading branch information
1 parent
5df959d
commit 82b108c
Showing
6 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 18 additions & 4 deletions
22
packages/core/src/components/question/input-types/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
import "./email/EmailInput"; | ||
import "./multiline/MultilineInput"; | ||
import "./phone/PhoneInput"; | ||
import "./text/TextInput"; | ||
export * from "./email/EmailInput"; | ||
export * from "./multiline/MultilineInput"; | ||
export * from "./phone/PhoneInput"; | ||
export * from "./text/TextInput"; | ||
export * from "./baseinput/BaseInputComponent"; | ||
|
||
import { registerEmailInput } from "./email/EmailInput"; | ||
import { registerMultilineInput } from "./multiline/MultilineInput"; | ||
import { registerPhoneInput } from "./phone/PhoneInput"; | ||
import { registerTextInput } from "./text/TextInput"; | ||
|
||
export const registerCoreInputComponents = () => { | ||
|
||
registerTextInput(); | ||
registerMultilineInput(); | ||
registerPhoneInput(); | ||
registerEmailInput(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters