fix style

This commit is contained in:
lyf
2024-09-25 11:15:00 +08:00
parent fe4cba8baf
commit 248d27680d
5 changed files with 5 additions and 14 deletions

View File

@@ -298,12 +298,13 @@ export function Select(
HTMLSelectElement
>,
) {
const { className, children, align, ...otherProps } = props;
const { className, children, align, style, ...otherProps } = props;
return (
<div
className={`${styles["select-with-icon"]} ${
align === "left" ? styles["left-align-option"] : ""
} ${className}`}
style={style}
>
<select className={styles["select-with-icon-select"]} {...otherProps}>
{children}