feat: dynamic backends

This commit is contained in:
jialin
2025-10-13 14:40:26 +08:00
parent ee95fabc47
commit bca1e8140e
19 changed files with 325 additions and 177 deletions
+7 -2
View File
@@ -12,7 +12,12 @@ import { SealFormItemProps } from './types';
import Wrapper from './wrapper';
import InputWrapper from './wrapper/input';
const LabelWrapper = styled.div`
const LabelWrapper = styled.div.attrs({
className: 'seal-textarea-label'
})`
display: flex;
align-items: center;
justify-content: flex-start;
background-color: var(--ant-color-bg-container);
`;
@@ -110,7 +115,7 @@ const SealTextArea: React.FC<InputTextareaProps & SealFormItemProps> = (
<InputWrapper>
<Wrapper
status={status}
label={<LabelWrapper>{label}</LabelWrapper>}
label={label}
isFocus={isFocus}
required={required}
description={description}