Closed rkondra-eightfold closed 4 months ago
TwoStateButton should never be used as an icon button.
You may be considering ButtonShape.Pill?
If it's not the shape, use a plain old Neutral toggle button.
Hi @dkilgore-eightfold - for now using Pill shape with a border radius (from styles.round), but only TwoStateButton has the color change inbuilt, can you please point me to some example where we are doing this with Neutral toggle button (I think involves different classes to manipulate color?)
This line of code is missing in TwoStateButton https://github.com/EightfoldAI/octuple/blob/f796ff97ee5e40b39a20f670832b63f7c36fe0a8/src/components/Button/Button.tsx#L161