
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.
Should they be the same? Otherwise how can I safely pass e.g. the monoBlue theme to CodeBlock?
I'd have expected the types to be compatible, but they don't overlap sufficiently.
It seems like
CodeBlock'sthemeprop isstyled-component'sDefaultThemeinterface, whereasCopyBlock's is this library's ownThemeinterface.Should they be the same? Otherwise how can I safely pass e.g. the
monoBluetheme toCodeBlock?