From fe2ded7f324d7023a5dba6cd7d935f81e543b157 Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Tue, 29 Jan 2019 17:59:42 +0200 Subject: [PATCH] CheckboxLabel renamed to ConsentCheckbox --- src/routes/Intro/CheckboxLabel/index.js | 3 --- .../ConsentCheckbox.js} | 10 +++++----- src/routes/Intro/ConsentCheckbox/index.js | 3 +++ .../{CheckboxLabel => ConsentCheckbox}/styles.less | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 src/routes/Intro/CheckboxLabel/index.js rename src/routes/Intro/{CheckboxLabel/CheckboxLabel.js => ConsentCheckbox/ConsentCheckbox.js} (69%) create mode 100644 src/routes/Intro/ConsentCheckbox/index.js rename src/routes/Intro/{CheckboxLabel => ConsentCheckbox}/styles.less (96%) diff --git a/src/routes/Intro/CheckboxLabel/index.js b/src/routes/Intro/CheckboxLabel/index.js deleted file mode 100644 index 830cfc415..000000000 --- a/src/routes/Intro/CheckboxLabel/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import CheckboxLabel from './CheckboxLabel'; - -export default CheckboxLabel; diff --git a/src/routes/Intro/CheckboxLabel/CheckboxLabel.js b/src/routes/Intro/ConsentCheckbox/ConsentCheckbox.js similarity index 69% rename from src/routes/Intro/CheckboxLabel/CheckboxLabel.js rename to src/routes/Intro/ConsentCheckbox/ConsentCheckbox.js index d3e4974ed..9dfd91105 100644 --- a/src/routes/Intro/CheckboxLabel/CheckboxLabel.js +++ b/src/routes/Intro/ConsentCheckbox/ConsentCheckbox.js @@ -4,8 +4,8 @@ import classnames from 'classnames'; import { Checkbox } from 'stremio-common'; import styles from './styles'; -const CheckboxLabel = React.forwardRef(({ className, label, link, href, checked, onClick }, ref) => ( -