1
0
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


![image](https://github.com/user-attachments/assets/d4378975-483a-4478-a7c9-9698a466f918)

### After


![image](https://github.com/user-attachments/assets/1349454b-73aa-465e-9a15-cd7f52cedb75)
This commit is contained in:
Nuno Góis 2025-04-16 14:52:54 +01:00 committed by GitHub
parent d3d618c9ad
commit f3a1da9d7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,7 +129,7 @@ export const DemoStepTooltip = ({
condition={topic > 0 || stepIndex > 0}
show={
<Button
variant='outlined'
variant='text'
onClick={() => onBack(step)}
>
Back
@ -180,10 +180,7 @@ export const DemoStepTooltip = ({
<ConditionallyRender
condition={topic > 0 || stepIndex > 0}
show={
<Button
variant='outlined'
onClick={() => onBack(step)}
>
<Button variant='text' onClick={() => onBack(step)}>
Back
</Button>
}