Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16830057

fbshipit-source-id: 1a9e185ff108431f3c5900259375ff635eee3057
This commit is contained in:
Daniel Büchele
2019-08-20 03:18:32 -07:00
committed by Facebook Github Bot
parent ff77d4928e
commit 13ed952c09
2 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
/**
* Copyright 2018-present Facebook.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @format
*/
import styled from 'react-emotion';
import {inputStyle} from './Input';
export default styled('textarea')(({compact}: {compact?: boolean}) => ({
...inputStyle(compact),
lineHeight: 'normal',
padding: compact ? '5px' : '8px',
resize: 'none',
}));