Skip to content

Commit bb9dbc2

Browse files
authored
♻️ Export all types for react-otp-input (#408)
* ♻️ Export all types for the component * 🔖 v3.0.4
1 parent b3b973b commit bb9dbc2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-otp-input",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"description": "A fully customizable, one-time password input component for the web built with React",
55
"main": "lib/index.js",
66
"module": "lib/index.esm.js",

src/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,5 @@ const OTPInput = ({
251251
);
252252
};
253253

254+
export type { OTPInputProps, InputProps, AllowedInputTypes };
254255
export default OTPInput;

0 commit comments

Comments
 (0)