style(web): translate the comments in the src/views directory into English
This commit is contained in:
@@ -1,13 +1,31 @@
|
||||
/*
|
||||
* @Author: ZhaoYing
|
||||
* @Date: 2026-02-03 16:27:31
|
||||
* @Last Modified by: ZhaoYing
|
||||
* @Last Modified time: 2026-02-03 16:27:31
|
||||
*/
|
||||
import { type FC, type ReactNode } from 'react'
|
||||
|
||||
import RbCard from '@/components/RbCard/Card'
|
||||
|
||||
/**
|
||||
* Props for Card component
|
||||
*/
|
||||
interface CardProps {
|
||||
/** Card title */
|
||||
title?: string | ReactNode;
|
||||
/** Card subtitle */
|
||||
subTitle?: string | ReactNode;
|
||||
/** Card content */
|
||||
children: ReactNode;
|
||||
/** Extra content in header */
|
||||
extra?: ReactNode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Card component wrapper
|
||||
* Styled card with left border accent for application configuration sections
|
||||
*/
|
||||
const Card: FC<CardProps> = ({
|
||||
title,
|
||||
subTitle,
|
||||
|
||||
Reference in New Issue
Block a user