sui-components
sui-components copied to clipboard
✨AtomButton: the returned button children structure might never change
Is your iteration request related to a problem?
No response
Describe the solution you'd like
The resulting html inner structure might be always the same
Screenshots
No response
Additional context**
No response
Additional info
No response
@andresin87 can you specify which AtomButton you are talking about?
components/atom/button/src/index.js
The not isLoading
return ternary part has a conditionaly erapper depending on if the component has or not a left/right icon. The idea is to aleays wrap the children with this element, nos changing the dom structure
@andresin87 is this open ? Can I work on this