Commit 9adf71b6 authored by Chunchi Che's avatar Chunchi Che

update SelectManager

parent bf53c3cd
Pipeline #26993 passed with stages
in 10 minutes and 53 seconds
......@@ -15,3 +15,13 @@
:global(.ant-dropdown-menu-item) {
gap: 0.5rem;
}
.select-manager {
.btn {
font-size: 0.9rem;
}
.cancle {
color: red;
}
}
......@@ -15,6 +15,7 @@ import {
theme,
Tooltip,
} from "antd";
import classNames from "classnames";
import { cloneElement, useEffect, useState } from "react";
import { useSnapshot } from "valtio";
......@@ -247,9 +248,11 @@ const ChainIcon: React.FC<{ chainSetting: ChainSetting }> = ({
const SelectManager: React.FC = () => {
return (
<>
<Button>完成选择</Button>
<Button style={{ color: "red" }}>取消选择</Button>
</>
<div className={styles["select-manager"]}>
<Button className={styles.btn}>完成选择</Button>
<Button className={classNames(styles.btn, { [styles.cancle]: true })}>
取消选择
</Button>
</div>
);
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment