From bb9dbc249bda5a0f7568b5d17f21916d25268338 Mon Sep 17 00:00:00 2001 From: Prateek Surana Date: Sun, 23 Jul 2023 01:45:21 +0530 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Export=20all=20types=20for?= =?UTF-8?q?=20react-otp-input=20(#408)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :recycle: Export all types for the component * :bookmark: v3.0.4 --- package.json | 2 +- src/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 73635e1f..f390e701 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/index.tsx b/src/index.tsx index ca66b173..0fd3a276 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -251,4 +251,5 @@ const OTPInput = ({ ); }; +export type { OTPInputProps, InputProps, AllowedInputTypes }; export default OTPInput;