Textarea
Summary: _typescript_ Reviewed By: priteshrnandgaonkar Differential Revision: D16830057 fbshipit-source-id: 1a9e185ff108431f3c5900259375ff635eee3057
This commit is contained in:
committed by
Facebook Github Bot
parent
ff77d4928e
commit
13ed952c09
@@ -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',
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user