Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181150

fbshipit-source-id: 5de7f4d971c988bdaf18ae281a0e76ba99b67648
This commit is contained in:
Daniel Büchele
2019-09-05 04:40:39 -07:00
committed by Facebook Github Bot
parent 3bdc4a2b8d
commit cfd4793d05

View File

@@ -9,7 +9,7 @@ import styled from 'react-emotion';
import {inputStyle} from './Input'; import {inputStyle} from './Input';
export default styled('textarea')(({compact}: {compact?: boolean}) => ({ export default styled('textarea')(({compact}: {compact?: boolean}) => ({
...inputStyle(compact), ...inputStyle(compact || false),
lineHeight: 'normal', lineHeight: 'normal',
padding: compact ? '5px' : '8px', padding: compact ? '5px' : '8px',
resize: 'none', resize: 'none',