diff --git a/src/components/MultiSelect/index.tsx b/src/components/MultiSelect/index.tsx index 1a3cd2e..93a2142 100644 --- a/src/components/MultiSelect/index.tsx +++ b/src/components/MultiSelect/index.tsx @@ -53,6 +53,7 @@ const MultiSelectComponent: ( searchField, selectedStyle, selectedTextStyle, + selectedTextProps = {}, itemContainerStyle, itemTextStyle, iconStyle, @@ -416,6 +417,7 @@ const MultiSelectComponent: ( placeholderStyle, font(), ])} + {...selectedTextProps} > {placeholder} diff --git a/src/components/MultiSelect/model.ts b/src/components/MultiSelect/model.ts index 4ac4d70..e34e8ae 100644 --- a/src/components/MultiSelect/model.ts +++ b/src/components/MultiSelect/model.ts @@ -2,6 +2,7 @@ import type { FlatListProps, ImageStyle, StyleProp, + TextProps, TextStyle, ViewStyle, } from 'react-native'; @@ -25,6 +26,7 @@ export interface MultiSelectProps { inputSearchStyle?: StyleProp; selectedStyle?: StyleProp; selectedTextStyle?: StyleProp; + selectedTextProps?: TextProps; itemContainerStyle?: StyleProp; itemTextStyle?: StyleProp; iconStyle?: StyleProp;