summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TextareaAutosize.js2
-rw-r--r--src/index.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/TextareaAutosize.js b/src/TextareaAutosize.js
index 3916ee9..68ebb3c 100644
--- a/src/TextareaAutosize.js
+++ b/src/TextareaAutosize.js
@@ -1,5 +1,3 @@
-'use strict';
-
const React = require('react'),
autosize = require('autosize'),
UPDATE = 'autosize:update',
diff --git a/src/index.js b/src/index.js
index 319b9d5..8ae221e 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,3 +1,2 @@
import TextareaAutosize from './TextareaAutosize.js';
-
-export TextareaAutosize; \ No newline at end of file
+export default TextareaAutosize; \ No newline at end of file