We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78758ac commit 687eb77Copy full SHA for 687eb77
src/calendar-list/item.tsx
@@ -20,7 +20,7 @@ export type CalendarListItemProps = CalendarProps & {
20
scrollToMonth?: (date: XDate) => void;
21
};
22
23
-const CalendarListItem = (props: CalendarListItemProps) => {
+const CalendarListItem = React.memo((props: CalendarListItemProps) => {
24
const {
25
theme,
26
item,
@@ -102,7 +102,7 @@ const CalendarListItem = (props: CalendarListItemProps) => {
102
</View>
103
);
104
}
105
-};
+});
106
107
export default CalendarListItem;
108
CalendarListItem.displayName = 'CalendarListItem';
0 commit comments