TypeError: Cannot read property 'getPrefixCls' of undefined #36089
Replies: 5 comments 4 replies
-
Please open an issue. |
Beta Was this translation helpful? Give feedback.
-
does it have solution |
Beta Was this translation helpful? Give feedback.
-
Following... I have this same issue when using a notification |
Beta Was this translation helpful? Give feedback.
-
Have the same issue when I use the Select component |
Beta Was this translation helpful? Give feedback.
-
I faced the same issue. Solved it by adding {contextHolder} to my component's return snippet. |
Beta Was this translation helpful? Give feedback.
-
I am getting error as TypeError: Cannot read property 'getPrefixCls' of undefined when i use Progress in antd .
Please help me
import { Progress } from 'antd';
true ? positionData / 26 : 0}
showInfo={false}
type="line"
strokeColor="black"
strokeWidth="2px"
trailColor="#b6b6b6"
// prefixCls="rc-tabs"
/>
I have used next js . During the build time i am getting this error
Beta Was this translation helpful? Give feedback.
All reactions