refactor(switch): Base UI migration with loading/skeleton variants (#33345)

Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
yyh
2026-03-12 14:40:43 +08:00
committed by GitHub
parent b44b37518a
commit c43307dae1
21 changed files with 518 additions and 624 deletions

View File

@ -174,7 +174,7 @@ const AddExtractParameter: FC<Props> = ({
<Field title={t(`${i18nPrefix}.addExtractParameterContent.required`, { ns: 'workflow' })}>
<>
<div className="mb-1.5 text-xs font-normal leading-[18px] text-text-tertiary">{t(`${i18nPrefix}.addExtractParameterContent.requiredContent`, { ns: 'workflow' })}</div>
<Switch size="l" value={param.required ?? false} onChange={handleParamChange('required')} />
<Switch size="lg" value={param.required ?? false} onChange={handleParamChange('required')} />
</>
</Field>
</div>