You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All RAC components allows className, style and children to be function, where the parameters are the component's state, and the return value the className to append.
However, some of our component that are not based on react aria do not allow such function, such as the Chip component.
We should make sure that all component with a state (not the stylistic stuff like variant/fluid/size) should allow those functions
The text was updated successfully, but these errors were encountered:
For instance, the Avatar, or basically any component extending BaseComponent, aka not RAC component, do not have render props for classname, style and children
All RAC components allows className, style and children to be function, where the parameters are the component's state, and the return value the className to append.
However, some of our component that are not based on react aria do not allow such function, such as the Chip component.
We should make sure that all component with a state (not the stylistic stuff like variant/fluid/size) should allow those functions
The text was updated successfully, but these errors were encountered: