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
Hi there,
I've installed only the reflexbox and its types to use Box and Flex only, the problem I'm getting is that box does not implement shadow from styled system on its composition so I'm assuming the only way to get those props is via sx prop.
But I'm getting this typescript error when trying to do that Property 'sx' does not exist on type 'IntrinsicAttributes & ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & Omit<...> & { ...; }'.ts(2322)
@kevzzsk I'm not using this package was just an experiment I don't think I was able to get around it at that time. I started using styled-system together with styled component and created my own ui components.
Sorry not being able to help that much.
Hi there,
I've installed only the reflexbox and its types to use Box and Flex only, the problem I'm getting is that box does not implement shadow from styled system on its composition so I'm assuming the only way to get those props is via sx prop.
But I'm getting this typescript error when trying to do that
Property 'sx' does not exist on type 'IntrinsicAttributes & ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & Omit<...> & { ...; }'.ts(2322)
How can I get around it?
Cheers
The text was updated successfully, but these errors were encountered: