mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
large performance refactor
This commit is contained in:
@@ -266,7 +266,7 @@ export interface ItemGridListProps {
|
||||
rows?: ItemCardProps['rows'];
|
||||
}
|
||||
|
||||
export const ItemGridList = ({
|
||||
const BaseItemGridList = ({
|
||||
data,
|
||||
enableDrag = true,
|
||||
enableExpansion = false,
|
||||
@@ -750,3 +750,7 @@ const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
export const ItemGridList = memo(BaseItemGridList);
|
||||
|
||||
ItemGridList.displayName = 'ItemGridList';
|
||||
|
||||
Reference in New Issue
Block a user