scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

在antd@4.x里面这样用就报错,怎么解决 #187

Closed bibiehy closed 4 years ago

bibiehy commented 4 years ago

antd@4.2.0 react-codemirror2@7.1.0 codemirror@5.53.2

import { UnControlled as CodeMirror } from 'react-codemirror2'; antd自身组件不报错,比如 Input

image

elsigh commented 4 years ago

do not understand the issue