From 32d2d3a94367c40e44a408fbe66cece2742b7cd0 Mon Sep 17 00:00:00 2001 From: Shrilakshmi Shastry Date: Sat, 14 Sep 2024 21:27:58 +0530 Subject: [PATCH] fix: type issue in classNames prop --- src/index.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 71a21977..7b772331 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -141,17 +141,17 @@ export interface ReactTagsWrapperProps { * CSS class names for the component. */ classNames?: { - tags: string, - tagInput: string, - tagInputField: string, - selected: string, - tag: string, - remove: string, - suggestions: string, - activeSuggestion: string, - editTagInput: string, - editTagInputField: string, - clearAll: string, + tags?: string, + tagInput?: string, + tagInputField?: string, + selected?: string, + tag?: string, + remove?: string, + suggestions?: string, + activeSuggestion?: string, + editTagInput?: string, + editTagInputField?: string, + clearAll?: string, }; /** * Name attribute for the input field.