@@ -62,6 +62,8 @@ customStyles | Object for custom styling | CustomStyle | {} |
6262loadMoreLabel | Text shown on the load more component | string | "Load More" |
6363hideBadge | Toggle to hide or show the badge | boolean | false |
6464darkMode | Toggle to enable dark mode | boolean | false |
65+ hideTab | Toggle to enable all and unread tabs | false |
66+ tabProps | Props for customizing tab. <br >tabs - List of tab items. <br > activeTab - Active tab index. | tabProps| { tabs: [ <br >{ key: 'all', title: 'All' },<br >{ key: 'unread', title: 'Unread' }<br >] ,activeTab: 0} |
6567itemsPerFetch | Number of notifications fetch per api request (have a max cap of 50) | number | 20 |
6668windowViewOnly | Toggle to enable fit-to-screen window or modal view | boolean | false |
6769notificationIcon | Option to use custom notification Icon | JSX Element | null |
@@ -125,6 +127,15 @@ type ThemeProps = {
125127 color?: string,
126128 background?: string,
127129 },
130+ tabs?: {
131+ containerBackgroundColor?: string,
132+ activeTabBackgroundColor?: string,
133+ activeTabTextColor?: string,
134+ inactiveTabTextColor?: string,
135+ indicatorColor?: string,
136+ borderColor?: string,
137+ inactiveTabBackgroundColor?: string
138+ };
128139};
129140```
130141
@@ -185,6 +196,20 @@ Please note that the badgeStyle, window shadow and border props are only applica
185196 clearAllIcon?: {
186197 size?: number
187198 },
199+ tabs?: {
200+ containerHeight?: number,
201+ tabPadding?: number,
202+ activeTabTextSize?: number,
203+ inactiveTabTextSize?: number,
204+ activeTabTextWeight?: TextStyle[' fontWeight' ],
205+ inactiveTabTextWeight?: TextStyle[' fontWeight' ],
206+ indicatorHeight?: number,
207+ headingGap?: number,
208+ borderWidth?: number,
209+ borderRadius?: number,
210+ paddingY?: number,
211+ paddingX?: number
212+ };
188213}
189214```
190215
0 commit comments