style: cluster creation steps

This commit is contained in:
jialin
2026-01-06 17:21:32 +08:00
parent 0ba8300959
commit 0eba1da6c4
21 changed files with 223 additions and 79 deletions
@@ -4,17 +4,22 @@ import ClusterCreate from './cluster-create';
interface ClusterModalProps {
open: boolean;
title: string;
onClose: () => void;
}
const ClusterModal: React.FC<ClusterModalProps> = ({ open, onClose }) => {
const ClusterModal: React.FC<ClusterModalProps> = ({
open,
onClose,
title
}) => {
const handleCancel = () => {
onClose();
};
return (
<GSDrawer
title={'Create Cluster'}
title={title}
open={open}
onClose={handleCancel}
destroyOnHidden={true}
@@ -25,7 +30,7 @@ const ClusterModal: React.FC<ClusterModalProps> = ({ open, onClose }) => {
body: {
paddingBlock: 0
},
wrapper: { width: 900 }
wrapper: { width: 700 }
}}
footer={false}
>