Add clear diff button, style recording button
Summary: * Added a button to clear Diff selection * Added icons and color to the recording button * Made App input field readonly Reviewed By: priteshrnandgaonkar Differential Revision: D18748538 fbshipit-source-id: 00ffb5d5c36f8f5394a353602f182aabd8237ee7
This commit is contained in:
committed by
Facebook Github Bot
parent
2bd87a8100
commit
ac8879c503
@@ -10,12 +10,14 @@
|
||||
import styled from 'react-emotion';
|
||||
import {inputStyle} from './Input';
|
||||
|
||||
const Textarea = styled('textarea')(({compact}: {compact?: boolean}) => ({
|
||||
...inputStyle(compact || false),
|
||||
lineHeight: 'normal',
|
||||
padding: compact ? '5px' : '8px',
|
||||
resize: 'none',
|
||||
}));
|
||||
const Textarea = styled('textarea')(
|
||||
({compact, readOnly}: {compact?: boolean; readOnly?: boolean}) => ({
|
||||
...inputStyle(compact || false, readOnly || false),
|
||||
lineHeight: 'normal',
|
||||
padding: compact ? '5px' : '8px',
|
||||
resize: 'none',
|
||||
}),
|
||||
);
|
||||
Textarea.displayName = 'Textarea';
|
||||
|
||||
export default Textarea;
|
||||
|
||||
Reference in New Issue
Block a user