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
While this approach works well for complex components like DatePicker, ColorPicker, or components with a more open API design like Tabs, it can be somewhat cumbersome for smaller components such as Avatar, Switch, Checkbox, Pagination, etc.
Therefore, the goal for the next few iterations is to redesign these smaller components for use in a more encapsulated component design, like so:
At the moment, each component snippet is declared as follows:
These can then be used as follows:
While this approach works well for complex components like
DatePicker
,ColorPicker
, or components with a more open API design likeTabs
, it can be somewhat cumbersome for smaller components such asAvatar
,Switch
,Checkbox
,Pagination
, etc.Therefore, the goal for the next few iterations is to redesign these smaller components for use in a more encapsulated component design, like so:
The simplified snippet would look like this:
Status
The text was updated successfully, but these errors were encountered: