-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Description
There's no way to pass Linear Gradient props.
Problem Statement
It's possible to pass Linear Gradient to every component except for Button.
Proposed Solution or API
<Button bg={{linearGradient={....}}} />
Alternatives
Trryied with parent Box:
<Box bgColor={{ linearGradient: { colors: ['#E31E24', '#B62322', '#962B24'], start: [0, 0], end: [1, 0], }, }}> <Button variant="unstyled">Applica Filtri</Button> </Box>
but with bad results (losing all the props on child, like rounded, etc)
I tryied to pass the bg to _stack with bad results.
Additional Information
No response
zarubond, magom001, marcoturi and dev-namnv