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
I have a question regarding the StyledComponentProps interface. classes is marked as optional even though it shouldn't be if the component is styled using withStyle?
Here classes is marked as mandatory as well as it's class names. I was hoping to replace this type with StyledComponentProps but it doesn't seem to be exactly the same. am I missing something?
The text was updated successfully, but these errors were encountered:
I have a similar question with the type of the classes property within StyledComponentProps. Why is it using Partial<>? Should the developer be obligated to provide all the classe definitions?
I have a question regarding the
StyledComponentProps
interface.classes
is marked as optional even though it shouldn't be if the component is styled usingwithStyle
?I had a similar typedefinition in my project:
Here
classes
is marked as mandatory as well as it's class names. I was hoping to replace this type withStyledComponentProps
but it doesn't seem to be exactly the same. am I missing something?The text was updated successfully, but these errors were encountered: