feat(web): add PageTabs component

This commit is contained in:
zhaoying
2026-01-27 19:17:32 +08:00
parent 3a0f07d36f
commit 74f0018962
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { type FC } from 'react';
import { Segmented, type SegmentedProps } from 'antd';
import styles from './index.module.css';
const PageTabs: FC<SegmentedProps> = ({
value,
options,
onChange
}) => {
return <Segmented
value={value}
options={options}
onChange={onChange}
className={styles.pageTabs}
/>;
};
export default PageTabs;