Skip to content

Commit

Permalink
♻️ Export all types for react-otp-input (#408)
Browse files Browse the repository at this point in the history
* ♻️ Export all types for the component

* 🔖 v3.0.4
  • Loading branch information
prateek3255 authored Jul 22, 2023
1 parent b3b973b commit bb9dbc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-otp-input",
"version": "3.0.3",
"version": "3.0.4",
"description": "A fully customizable, one-time password input component for the web built with React",
"main": "lib/index.js",
"module": "lib/index.esm.js",
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,5 @@ const OTPInput = ({
);
};

export type { OTPInputProps, InputProps, AllowedInputTypes };
export default OTPInput;

0 comments on commit bb9dbc2

Please sign in to comment.