Open eyeseast opened 1 day ago
This is a result of using props to control the styles. There may be other ways to achieve this, like deprecating Flex and creating a global .flex class instead.
The component is nice to use, but I do wonder if there's an all-CSS way to do the same thing. Something to poke at when things are quiet.
Oh yeah, a bunch of conditional classes would be another way to split the difference. I agree that the component has good ergonomics for layouts we're frequently building.
This way of writing styles makes fro a lot of noise to sort through:
Not urgent, just an optimization for someday.