mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-27 01:19:00 +02:00
chore: make demo back button variant text (#9772)
https://linear.app/unleash/issue/2-2576/make-back-button-less-dominant Make demo "Back" button `variant='text'` so it's less predominant visually. ### Before  ### After 
This commit is contained in:
parent
d3d618c9ad
commit
f3a1da9d7e
@ -129,7 +129,7 @@ export const DemoStepTooltip = ({
|
|||||||
condition={topic > 0 || stepIndex > 0}
|
condition={topic > 0 || stepIndex > 0}
|
||||||
show={
|
show={
|
||||||
<Button
|
<Button
|
||||||
variant='outlined'
|
variant='text'
|
||||||
onClick={() => onBack(step)}
|
onClick={() => onBack(step)}
|
||||||
>
|
>
|
||||||
Back
|
Back
|
||||||
@ -180,10 +180,7 @@ export const DemoStepTooltip = ({
|
|||||||
<ConditionallyRender
|
<ConditionallyRender
|
||||||
condition={topic > 0 || stepIndex > 0}
|
condition={topic > 0 || stepIndex > 0}
|
||||||
show={
|
show={
|
||||||
<Button
|
<Button variant='text' onClick={() => onBack(step)}>
|
||||||
variant='outlined'
|
|
||||||
onClick={() => onBack(step)}
|
|
||||||
>
|
|
||||||
Back
|
Back
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user