style: select component

This commit is contained in:
jialin
2025-02-26 16:00:29 +08:00
parent 5b130d9500
commit eedcf6f1fe
5 changed files with 105 additions and 32 deletions
+20 -21
View File
@@ -86,27 +86,26 @@ const SealCascader: React.FC<CascaderAutoProps & SealFormItemProps> = (
const Boxer = styled.div``;
return (
<>
<Wrapper
status={status}
label={label}
isFocus={isFocus}
required={required}
description={description}
disabled={props.disabled}
onClick={handleClickWrapper}
>
<Cascader
{...rest}
ref={inputRef}
options={children ? null : _options}
onFocus={handleOnFocus}
onBlur={handleOnBlur}
onChange={handleChange}
notFoundContent={null}
></Cascader>
</Wrapper>
</>
<Wrapper
className="seal-select-wrapper"
status={status}
label={label}
isFocus={isFocus}
required={required}
description={description}
disabled={props.disabled}
onClick={handleClickWrapper}
>
<Cascader
{...rest}
ref={inputRef}
options={children ? null : _options}
onFocus={handleOnFocus}
onBlur={handleOnBlur}
onChange={handleChange}
notFoundContent={null}
></Cascader>
</Wrapper>
);
};