mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-03 13:21:43 +08:00
feat: Replace Card components with PageCard
This commit is contained in:
8
web/src/components/PageCard.tsx
Normal file
8
web/src/components/PageCard.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Card, type CardProps } from 'antd';
|
||||
import { memo } from 'react';
|
||||
|
||||
const PageCard = memo((props: CardProps) => {
|
||||
return <Card styles={{ body: { overflowY: 'auto', height: 'calc(100vh - 145px)' } }} {...props} />;
|
||||
});
|
||||
|
||||
export default PageCard;
|
||||
Reference in New Issue
Block a user