You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an extended custom React.Component that imports Semantic UI React Icon Component
Build and open app in Chrome Browser
Expected Result
No warnings
Actual Result
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
printWarning @ warning.js?8a56:36
warning @ warning.js?8a56:60
get @ React.js?24ef:95
(anonymous) @ IconGroup.js?f416:40
`
process.env.NODE_ENV !== "production" ? IconGroup.propTypes = {
/** An element type to render as (string or function). */
as: customPropTypes.as,
Steps
Expected Result
No warnings
Actual Result
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
printWarning @ warning.js?8a56:36
warning @ warning.js?8a56:60
get @ React.js?24ef:95
(anonymous) @ IconGroup.js?f416:40
`
process.env.NODE_ENV !== "production" ? IconGroup.propTypes = {
/** An element type to render as (string or function). */
as: customPropTypes.as,
/** Primary content. */
children: PropTypes.node,
/** Additional classes. */
className: PropTypes.string,
/** Size of the icon group. */
size: PropTypes.oneOf(_without(SUI.SIZES, 'medium'))
`
Version
0.67.2
Testcase
The text was updated successfully, but these errors were encountered: