Updated classNames constant in components that werent using

• Updated:
- classNames constant in components that werent using
This commit is contained in:
mgabdev
2020-08-18 19:39:06 -05:00
parent 99982c0391
commit 2f4700e89f
23 changed files with 64 additions and 112 deletions

View File

@@ -1,12 +1,10 @@
import React from 'react'
import PropTypes from 'prop-types'
import classNames from 'classnames/bind'
import { CX } from '../constants'
import Button from './button'
import Icon from './icon'
import Text from './text'
const cx = classNames.bind(_s)
class Input extends React.PureComponent {
handleOnChange = (e) => {
@@ -33,7 +31,7 @@ class Input extends React.PureComponent {
maxLength,
} = this.props
const inputClasses = cx({
const inputClasses = CX({
d: 1,
text: 1,
outlineNone: 1,
@@ -55,7 +53,7 @@ class Input extends React.PureComponent {
pr15: !hasClear,
})
const btnClasses = cx({
const btnClasses = CX({
displayNone: !value || value.length === 0,
px10: 1,
mr5: 1,