Textarea
Summary: fixing ts-strict errors Reviewed By: passy Differential Revision: D17181150 fbshipit-source-id: 5de7f4d971c988bdaf18ae281a0e76ba99b67648
This commit is contained in:
committed by
Facebook Github Bot
parent
3bdc4a2b8d
commit
cfd4793d05
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user