bounds中不带px,且是数字. 例如正确写法是 minWidth=300 而不是 minWidth='300px' 可以只引入wrap import { wrap } from 'react-bounds'