TypeScript: CSSReset: config prop is missing from type
See original GitHub issueCodeSandbox: https://codesandbox.io/s/chakra-ts-starter-tmw03
The type for CSSReset
is just React.FC
without the generic for props.
My use case for wanting to configure CSSReset
is to set a custom background color on body
. Should there be a better way to configure this instead?
This came up a while ago here: https://github.com/chakra-ui/chakra-ui/issues/101#issuecomment-533213660
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Typescript variant prop types missing with `createStitches ...
I have a monorepo where the theming is separate from other components. In the "theming" package I create a stitches instance with createStitches ......
Read more >Property is missing in type error - reactjs - Stack Overflow
I am having an issue with working through a demo React project. Most of the issues stem from me trying to implement it...
Read more >Features | Vite
Vite uses esbuild to transpile TypeScript into JavaScript which is about 20~30x ... If the project contains valid PostCSS config (any format supported...
Read more >visibility - CSS: Cascading Style Sheets - MDN Web Docs
The visibility CSS property shows or hides an element without changing the layout of a document. The property can also hide rows or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s the type def updates for CSSReset. What do you think?
I’ve released a patch for this.