Skip to content

Error while compiling #2

@consultantvengage

Description

@consultantvengage

To create a production build, use npm run build.

webpack compiled successfully
ERROR in src/theme.ts:7:7
TS2740: Type 'Record<string, any>' is missing the following properties from type '{ components: { Accordion: { baseStyle?: { container: { borderTopWidth: string; borderColor: string; _last: { borderBottomWidth: string; }; }; button: { transitionProperty: string; transitionDuration: string; ... 5 more ...; py: string; }; panel: { ...; }; icon: { ...; }; } | undefined; sizes?: { ...; } | undefined;...': components, styles, config, sizes, and 16 more.
5 | }
6 |

7 | const theme: Theme = extendTheme({config})
| ^^^^^
8 |
9 | export default theme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions