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,9 +1,6 @@
import React from 'react'
import PropTypes from 'prop-types'
import classNames from 'classnames/bind'
// Bind CSS Modules global variable `_s` to classNames module
const cx = classNames.bind(_s)
import { CX } from '../constants'
// Define colors for enumeration for Text component `color` prop
const COLORS = {
@@ -70,7 +67,7 @@ class Text extends React.PureComponent {
} = this.props
// Style the component according to props
const classes = cx(className, {
const classes = CX(className, {
d: 1,
text: 1,