A solution was given for this problem
as we can see in the issue
roylee0704 / react-flexbox-grid # 173 (comment)
However, it keeps getting a warning when implementing the library in NextJS, this warning is the following
react-jsx-runtime.development.js:117 Warning: Failed prop type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types.
Which indicates that it is not a good solution for this problem, any other proposal?
Would also be nice to have example of how it should be included in next.js in documentation, some of us are locked into using it and it is fairly commonly used.
A solution was given for this problem as we can see in the issue roylee0704 / react-flexbox-grid # 173 (comment) However, it keeps getting a warning when implementing the library in NextJS, this warning is the following
react-jsx-runtime.development.js:117 Warning: Failed prop type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types
.Which indicates that it is not a good solution for this problem, any other proposal?