summaryrefslogtreecommitdiffstats
path: root/index.d.ts
diff options
context:
space:
mode:
authorFrancesco Cioria <firefelix@gmail.com>2017-07-03 12:27:27 +0200
committerFrancesco Cioria <firefelix@gmail.com>2017-07-03 12:27:51 +0200
commit98ec6c4e7873f37f56a95e61178d71c780abdfd1 (patch)
treece038d3022f20608825a9a04004088ed2f1b65d7 /index.d.ts
parenta12fd0f61613784fa5ddb97d462a98944da052db (diff)
downloadreact-autosize-textarea-98ec6c4e7873f37f56a95e61178d71c780abdfd1.zip
react-autosize-textarea-98ec6c4e7873f37f56a95e61178d71c780abdfd1.tar.gz
react-autosize-textarea-98ec6c4e7873f37f56a95e61178d71c780abdfd1.tar.bz2
fix typings and revert packageJson.main to "lib"
Diffstat (limited to 'index.d.ts')
-rw-r--r--index.d.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/index.d.ts b/index.d.ts
deleted file mode 100644
index c31d6f5..0000000
--- a/index.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import * as React from 'react';
-
-export interface TextareaAutosizeProps extends React.HTMLAttributes<HTMLTextAreaElement> {
- maxRows?: number,
- onResize?: (e: React.SyntheticEvent<Event>) => void,
- innerRef?: (textarea: HTMLTextAreaElement) => void
-}
-
-export default class TextareaAutosize extends React.Component<TextareaAutosizeProps, void> {} \ No newline at end of file