From 26e41a2970f7b38345b3aadf870ae4e6a2d36f3c Mon Sep 17 00:00:00 2001 From: Kevin Qi Date: Sun, 21 Apr 2019 18:51:30 -0700 Subject: [PATCH] remove prop-types dependency --- package.json | 4 +--- src/index.tsx | 1 - yarn.lock | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6b78013..da4e9d2 100644 --- a/package.json +++ b/package.json @@ -47,9 +47,7 @@ "ts-jest": "^24.0.2", "typescript": "^3.4.4" }, - "dependencies": { - "prop-types": "^15.5.10" - }, + "dependencies": {}, "peerDependencies": { "react": "^0.14.0 || ^15.0.0 || ^16.0.0" } diff --git a/src/index.tsx b/src/index.tsx index 34878e6..9b77351 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import PropTypes from 'prop-types'; const MIN_PERCENTAGE = 0; const MAX_PERCENTAGE = 100; diff --git a/yarn.lock b/yarn.lock index 26e5ae0..f7cb11c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3529,7 +3529,7 @@ prop-types-exact@^1.2.0: object.assign "^4.1.0" reflect.ownkeys "^0.2.0" -prop-types@^15.5.10, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.6.2, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==