@@ -63,10 +63,7 @@ loadMoreLabel | 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 |
6565hideTab | 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: [
67- { key: 'all', title: 'All' },
68- { key: 'unread', title: 'Unread' }
69- ] , activeTab: 0} |
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} |
7067itemsPerFetch | Number of notifications fetch per api request (have a max cap of 50) | number | 20 |
7168windowViewOnly | Toggle to enable fit-to-screen window or modal view | boolean | false |
7269notificationIcon | Option to use custom notification Icon | JSX Element | null |
@@ -130,13 +127,13 @@ type ThemeProps = {
130127 color?: string,
131128 background?: string,
132129 },
133- tabs?: {
130+ tabs?: {
134131 containerBackgroundColor?: string,
135132 activeTabBackgroundColor?: string,
136133 activeTabTextColor?: string,
137134 inactiveTabTextColor?: string,
138135 indicatorColor?: string,
139- borderColor?: string;
136+ borderColor?: string,
140137 inactiveTabBackgroundColor?: string
141138 };
142139};
@@ -199,19 +196,19 @@ Please note that the badgeStyle, window shadow and border props are only applica
199196 clearAllIcon?: {
200197 size?: number
201198 },
202- tabs?: {
199+ tabs?: {
203200 containerHeight?: number,
204201 tabPadding?: number,
205202 activeTabTextSize?: number,
206203 inactiveTabTextSize?: number,
207204 activeTabTextWeight?: TextStyle[' fontWeight' ],
208205 inactiveTabTextWeight?: TextStyle[' fontWeight' ],
209206 indicatorHeight?: number,
210- headingGap?: number;
211- borderWidth?: number;
212- borderRadius?: number;
213- paddingY?: number;
214- paddingX?: number;
207+ headingGap?: number,
208+ borderWidth?: number,
209+ borderRadius?: number,
210+ paddingY?: number,
211+ paddingX?: number
215212 };
216213}
217214```
0 commit comments