docs: add comments to the src/components directory

This commit is contained in:
zhaoying
2026-02-02 16:14:39 +08:00
parent 9a38e8a4a0
commit a191e32f71
55 changed files with 1417 additions and 375 deletions

View File

@@ -1,7 +1,27 @@
/*
* @Author: ZhaoYing
* @Date: 2026-02-02 15:18:50
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-02 15:18:50
*/
/**
* PageTabs Component
*
* A styled wrapper around Ant Design's Segmented component for page-level tab navigation.
* Provides consistent styling for tab interfaces across the application.
*
* @component
*/
import { type FC } from 'react';
import { Segmented, type SegmentedProps } from 'antd';
import styles from './index.module.css';
/**
* Page tabs component wrapper for Ant Design Segmented component.
* Applies custom styling via CSS modules.
*/
const PageTabs: FC<SegmentedProps> = ({
value,
options,