feat(web): components update

This commit is contained in:
zhaoying
2026-03-07 12:18:11 +08:00
parent 4c18f9e858
commit 0b3b241436
44 changed files with 1881 additions and 345 deletions

View File

@@ -19,7 +19,7 @@
*/
import { type FC, useState, useEffect } from 'react'
import { Button, Drawer, Space } from 'antd';
import { Button, Drawer, Space, Flex } from 'antd';
import type { DrawerProps } from 'antd';
import { CloseOutlined } from '@ant-design/icons';
@@ -78,9 +78,9 @@ const RbDrawer: FC<DrawerProps> =({
{...props}
>
{/* Full-height flex container for content */}
<div className='rb:flex rb:flex-col rb:h-full'>
<Flex vertical className='rb:h-full'>
{children}
</div>
</Flex>
</Drawer>
)
}