Skip to content

Commit 733acb9

Browse files
committed
fix: Export NumberInput and NumberInputTypes
1 parent 545eade commit 733acb9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hipo/react-ui-toolkit",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "React based UI toolkit.",
55
"main": "dist/index.js",
66
"scripts": {

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import {InputProps as InputComponentProps} from "./form/input/util/inputTypes";
99
import PasswordInput, {
1010
PasswordInputProps as PasswordInputComponentProps
1111
} from "./form/password-input/PasswordInput";
12+
import NumberInput from "./form/input/number/NumberInput";
13+
import {NumberInputProps as NumberInputComponentProps} from "./form/input/number/util/numberInputTypes";
1214
import FileInput, {
1315
FileInputProps as FileInputComponentProps
1416
} from "./form/input/file/FileInput";
@@ -73,6 +75,7 @@ export {
7375
// Components
7476
FormField,
7577
Input,
78+
NumberInput,
7679
FileInput,
7780
PasswordInput,
7881
CheckboxInput,
@@ -110,6 +113,7 @@ export {
110113
// Types
111114
export type FormFieldProps = FormFieldComponentProps;
112115
export type InputProps = InputComponentProps;
116+
export type NumberInputProps = NumberInputComponentProps;
113117
export type FileInputProps = FileInputComponentProps;
114118
export type PasswordInputProps = PasswordInputComponentProps;
115119
export type CheckboxInputProps = CheckboxInputComponentProps;

0 commit comments

Comments
 (0)