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

@@ -5,10 +5,10 @@
* @format
*/
import styled from '../styled/index.js';
import {inputStyle} from './Input.js';
import styled from 'react-emotion';
import {inputStyle} from './Input';
export default styled('textarea')(({compact}) => ({
export default styled('textarea')(({compact}: {compact?: boolean}) => ({
...inputStyle(compact),
lineHeight: 'normal',
padding: compact ? '5px' : '8px',

View File

@@ -72,7 +72,7 @@ export {default as Tab} from './components/Tab.tsx';
// inputs
export {default as Input} from './components/Input.js';
export {default as Textarea} from './components/Textarea.js';
export {default as Textarea} from './components/Textarea.tsx';
export {default as Select} from './components/Select.tsx';
export {default as Checkbox} from './components/Checkbox.js';