toystars / react-native-multiple-select

Simple multi-select component for react-native
MIT License
565 stars 313 forks source link

add property tagContainerStyle #204

Open dorianeGH opened 2 years ago

dorianeGH commented 2 years ago

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-multiple-select@0.5.9 for the project I'm working on.

-> tagContainerStyle was missing from the index.d.ts

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-multiple-select/index.d.ts b/node_modules/react-native-multiple-select/index.d.ts
index 97a1076..b36c765 100644
--- a/node_modules/react-native-multiple-select/index.d.ts
+++ b/node_modules/react-native-multiple-select/index.d.ts
@@ -34,6 +34,7 @@ export interface MultiSelectProps {
     styleSelectorContainer?: StyleProp<ViewStyle>;
     styleTextDropdown?: StyleProp<TextStyle>;
     styleTextDropdownSelected?: StyleProp<TextStyle>;
+    tagContainerStyle?: StyleProp<ViewStyle>;
     altFontFamily?: string;
     hideSubmitButton?: boolean;
     hideDropdown?: boolean;
@@ -52,6 +53,7 @@ export interface MultiSelectProps {
     flatListProps?: FlatListProps<any>;
     filterMethod?: string;
     noItemsText?: string;
+
 }

 export default class MultiSelect extends React.Component<MultiSelectProps> {

This issue body was partially generated by patch-package.