Skip to content

Commit

Permalink
Add types for EuiTextArea (#2201)
Browse files Browse the repository at this point in the history
* Add types for EuiTextArea

* Update CHANGELOG.md
  • Loading branch information
maryia-lapata authored Aug 7, 2019
1 parent 9d5634e commit 7b33cf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ No public interface changes since `13.2.0`.
- Fixed `EuiBadge` truncation in IE and for the global filters pattern ([#2194](https://github.com/elastic/eui/pull/2194))
- Fixed alignment of long titles in `EuiStep` ([#2186](https://github.com/elastic/eui/pull/2186))
- Fixed the TS defs for EuiFilterSelectItem ([#2192](https://github.com/elastic/eui/pull/2192))
- Added missing TS defs for EuiTextArea ([#2201](https://github.com/elastic/eui/pull/2201))

## [`13.1.1`](https://github.com/elastic/eui/tree/v13.1.1)

Expand Down
3 changes: 3 additions & 0 deletions src/components/form/text_area/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ import { CommonProps } from '../../common';
import { FunctionComponent, TextareaHTMLAttributes } from 'react';

declare module '@elastic/eui' {
export type EuiTextAreaResize = 'vertical' | 'horizontal' | 'both' | 'none';
/**
* @see './text_area.js'
*/
export interface EuiTextAreaProps {
compressed?: boolean;
resize?: EuiTextAreaResize;
rows?: number;
isInvalid?: boolean;
fullWidth?: boolean;
Expand Down

0 comments on commit 7b33cf8

Please sign in to comment.