AlexiCauvin преди 7 години
родител
ревизия
e354b3bef2
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      src/component/Input/BtnSwitch/BtnSwitch.jsx
  2. 1 0
      src/component/Input/BtnSwitch/BtnSwitch.styl

+ 1 - 1
src/component/Input/BtnSwitch/BtnSwitch.jsx Целия файл

@@ -9,7 +9,7 @@ export const BtnSwitch = props =>
9 9
       <span className='slider round' />
10 10
     </label>
11 11
     <div className='btnswitch__text'>
12
-      { props.checked ? 'On' : 'Off'}
12
+      { props.checked ? 'Actif' : 'Inactif'}
13 13
     </div>
14 14
   </div>
15 15
 

+ 1 - 0
src/component/Input/BtnSwitch/BtnSwitch.styl Целия файл

@@ -9,6 +9,7 @@
9 9
 .switch
10 10
   position relative
11 11
   display inline-block
12
+  margin-bottom 0
12 13
   width 60px
13 14
   height 34px
14 15