mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 09:21:05 +08:00
fix type error
This commit is contained in:
parent
3fd6831afa
commit
35bec31eb0
@ -52,6 +52,7 @@ export const Subtitle = styled.h2(withReset, ({ theme }) => ({
|
||||
color: transparentize(0.25, theme.color.defaultText),
|
||||
}));
|
||||
|
||||
// @ts-expect-error don't know why it doesn't accept our returned styles. if we add `...{}` anywhere to the returned object it stops erroring
|
||||
export const DocsContent = styled.div(({ theme }) => {
|
||||
const reset = {
|
||||
fontFamily: theme.typography.fonts.base,
|
||||
|
Loading…
x
Reference in New Issue
Block a user