chore: model form state update

This commit is contained in:
jialin
2024-08-20 15:30:19 +08:00
parent 5d1d8773ec
commit ba1670e56d
16 changed files with 642 additions and 368 deletions
+21
View File
@@ -0,0 +1,21 @@
import LabelInfo from '@/components/seal-form/components/label-info';
import React from 'react';
import styles from './styles/wrapper.less';
const Wrapper: React.FC<{
label?: string;
children: React.ReactNode;
}> = ({ children, label }) => {
return (
<div className={styles['wrapper']}>
{label && (
<span className="label">
<LabelInfo label={label}></LabelInfo>
</span>
)}
{children}
</div>
);
};
export default Wrapper;