mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Making second button to stay outlined
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
3f6e68361e
commit
bf1e1ab17e
@ -100,7 +100,9 @@ export class InfoPanel extends Component<Props> {
|
|||||||
</div>
|
</div>
|
||||||
<Button plain label={<Trans>Cancel</Trans>} onClick={close} />
|
<Button plain label={<Trans>Cancel</Trans>} onClick={close} />
|
||||||
<Button
|
<Button
|
||||||
primary active
|
active
|
||||||
|
outlined={showSubmitClose}
|
||||||
|
primary={!showSubmitClose}// one button always should be primary (blue)
|
||||||
label={submitLabel}
|
label={submitLabel}
|
||||||
onClick={submit}
|
onClick={submit}
|
||||||
disabled={isDisabled}
|
disabled={isDisabled}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user