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
In the background styled method will create a new css class name and pass it as className prop to AppsWidgetCard and that className should be passed further to the root element.
The text was updated successfully, but these errors were encountered:
SeverS
changed the title
[desygn-system]: Allow root elements to be further adjusted using styled-components
[design-system]: Allow root elements to be further adjusted using styled-components
Nov 1, 2019
Every component in design system must have
className
prop, in order to be able to customize it via styled components.For example:
I want to add a padding for apps widget card. Using styled-components i can write
In the background
styled
method will create a new css class name and pass it asclassName
prop toAppsWidgetCard
and that className should be passed further to the root element.The text was updated successfully, but these errors were encountered: