deseretdigital / dayzed

Primitives to build simple, flexible, WAI-ARIA compliant React date-picker components.
https://dayzed.netlify.app
MIT License
663 stars 27 forks source link

Dayzed: Support for defaultProps will be removed from function components in a future major release. #57

Open zupaazhai opened 2 months ago

zupaazhai commented 2 months ago

I got this error in my project

Environment

Error message

arning: Dayzed: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Dayzed@http://localhost:5173/node_modules/.vite/deps/dayzed.js?v=3054a706:462:33
div
withEmotionCache2/<@http://localhost:5173/node_modules/.vite/deps/chunk-R54DVJGV.js?v=1b4164e7:1287:45
ChakraComponent@http://localhost:5173/node_modules/.vite/deps/chunk-F32JGBZM.js?v=1b4164e7:8262:35
div
withEmotionCache2/<@http://localhost:5173/node_modules/.vite/deps/chunk-R54DVJGV.js?v=1b4164e7:1287:45
ChakraComponent@http://localhost:5173/node_modules/.vite/deps/chunk-F32JGBZM.js?v=1b4164e7:8262:35
Stack<@http://localhost:5173/node_modules/.vite/deps/chunk-F32JGBZM.js?v=1b4164e7:8851:7
VStack
div