(https://www.ryanhefner.com)",
"files": [
- "index.js",
"es",
+ "index.js",
+ "src",
"umd"
],
"directories": {
@@ -31,6 +32,7 @@
},
"dependencies": {
"clean-react-props": "^0.1.1",
+ "lodash.omit": "^4.5.0",
"lodash.throttle": "^4.1.1",
"prop-types": "^15.5.10",
"react-dom": "^15.6.1"
diff --git a/src/index.js b/src/index.js
index 35033dd..4a7de69 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,6 +1,7 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
+import omit from 'lodash.omit';
import throttle from 'lodash.throttle';
import cleanProps from 'clean-react-props';
@@ -125,7 +126,7 @@ class ScrollTrigger extends Component {
return (
{
this.element = element;
}}
diff --git a/yarn.lock b/yarn.lock
index 21ef515..d10ff2a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1948,6 +1948,10 @@ locate-path@^2.0.0:
p-locate "^2.0.0"
path-exists "^3.0.0"
+lodash.omit@^4.5.0:
+ version "4.5.0"
+ resolved "https://registry.yarnpkg.com/lodash.omit/-/lodash.omit-4.5.0.tgz#6eb19ae5a1ee1dd9df0b969e66ce0b7fa30b5e60"
+
lodash.throttle@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"