20+'!important'
is '20!important'
.
When you just give a number, react adds "px" for you; but you're using a string, so you have to specify the unit. Also I'm pretty sure there needs to be a space between "!important" and whatever's to the left of it.
style={{ height: '20px !important' }};
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…