We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CopyBlock
CodeBlock
I'd have expected the types to be compatible, but they don't overlap sufficiently.
It seems like CodeBlock's theme prop is styled-component's DefaultTheme interface, whereas CopyBlock's is this library's own Theme interface.
theme
styled-component
DefaultTheme
Theme
Should they be the same? Otherwise how can I safely pass e.g. the monoBlue theme to CodeBlock?
monoBlue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'd have expected the types to be compatible, but they don't overlap sufficiently.
It seems like
CodeBlock
'stheme
prop isstyled-component
'sDefaultTheme
interface, whereasCopyBlock
's is this library's ownTheme
interface.Should they be the same? Otherwise how can I safely pass e.g. the
monoBlue
theme toCodeBlock
?The text was updated successfully, but these errors were encountered: