Skip to content

Instantly share code, notes, and snippets.

@rsxdalv
Created October 25, 2018 08:59
Show Gist options
  • Save rsxdalv/1c8b86d4448238aa4a8614344d52973f to your computer and use it in GitHub Desktop.
Save rsxdalv/1c8b86d4448238aa4a8614344d52973f to your computer and use it in GitHub Desktop.
const TopSection = withProps({
color: "primary",
variant: "contained",
} as {})(styled(Card)`
width: 100%;
`)
@rsxdalv
Copy link
Author

rsxdalv commented Oct 25, 2018

as {} solves the problems while still allowing for types to be enabled at large

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment