Skip to content
New issue

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

Error while compiling #2

Open
consultantvengage opened this issue Jan 8, 2023 · 1 comment
Open

Error while compiling #2

consultantvengage opened this issue Jan 8, 2023 · 1 comment

Comments

@consultantvengage
Copy link

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

@Nailer
Copy link

Nailer commented Jul 19, 2024

please provide more information concerning the context you're having issue with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants