refactor: create cluster ux
This commit is contained in:
@@ -37,15 +37,19 @@ const FooterButtons: React.FC<FooterButtonsProps> = (props) => {
|
||||
onNext();
|
||||
};
|
||||
return (
|
||||
<Title style={{ height: 64 }}>
|
||||
<div className="flex-center gap-16">
|
||||
<Title style={{ padding: '16px 24px 32px' }}>
|
||||
<div className="flex-center gap-20">
|
||||
{showButtons.previous && (
|
||||
<Button type="link" icon={<LeftOutlined />} onClick={onPrevious}>
|
||||
<Button type="default" icon={<LeftOutlined />} onClick={onPrevious}>
|
||||
{intl.formatMessage({ id: 'common.button.prev' })}
|
||||
</Button>
|
||||
)}
|
||||
{showButtons.next && (
|
||||
<Button type="link" onClick={handleOnNext}>
|
||||
<Button
|
||||
type="primary"
|
||||
onClick={handleOnNext}
|
||||
style={{ minWidth: 100 }}
|
||||
>
|
||||
{intl.formatMessage({ id: 'common.button.next' })}
|
||||
<RightOutlined />
|
||||
</Button>
|
||||
@@ -62,7 +66,8 @@ const FooterButtons: React.FC<FooterButtonsProps> = (props) => {
|
||||
style={{ minWidth: 88 }}
|
||||
loading={loading}
|
||||
>
|
||||
{intl.formatMessage({ id: 'common.button.save' })}
|
||||
{/* {intl.formatMessage({ id: 'common.button.save' })} */}
|
||||
Create & Continue
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user