@expandorg/components
Advanced tools
Comparing version 0.2.25 to 0.2.26
{ | ||
"name": "@expandorg/components", | ||
"version": "0.2.25", | ||
"version": "0.2.26", | ||
"description": "expand UI components library", | ||
@@ -35,3 +35,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "9704063cea5c9e4e5f6b62264baa75d0780cf155" | ||
"gitHead": "c0cf4dd9d29e50b577ee8e76abf43ba5170bc057" | ||
} |
@@ -32,6 +32,6 @@ import React, { Component } from 'react'; | ||
return ( | ||
<label className={cn('gem-switch2', className)} {...rest}> | ||
<label className={cn('gem-switch', className)} {...rest}> | ||
<input | ||
type="checkbox" | ||
className="gem-switch2-input" | ||
className="gem-switchinput" | ||
checked={value} | ||
@@ -44,7 +44,7 @@ name={name} | ||
className={cn( | ||
`gem-switch2-container`, | ||
`gem-switch2-container-${value ? 'on' : 'off'}` | ||
`gem-switch-container`, | ||
`gem-switch-container-${value ? 'on' : 'off'}` | ||
)} | ||
> | ||
<span className="gem-switch2-thumb" /> | ||
<span className="gem-switch-thumb" /> | ||
</span> | ||
@@ -51,0 +51,0 @@ {children} |
131729