feat: depoly model advanced

This commit is contained in:
jialin
2024-09-04 14:32:36 +08:00
parent 01101678b3
commit ca595da0c7
23 changed files with 1032 additions and 217 deletions
+3 -2
View File
@@ -4,13 +4,14 @@ import styles from './styles/wrapper.less';
const Wrapper: React.FC<{
label?: string;
description?: React.ReactNode;
children: React.ReactNode;
}> = ({ children, label }) => {
}> = ({ children, label, description }) => {
return (
<div className={styles['wrapper']}>
{label && (
<span className="label">
<LabelInfo label={label}></LabelInfo>
<LabelInfo label={label} description={description}></LabelInfo>
</span>
)}
{children}