diff options
| author | Haishan <[email protected]> | 2020-05-14 22:50:48 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-05-14 22:50:48 +0800 |
| commit | faf4cba37c8dd123600a62ec4feb39cccd851bcb (patch) | |
| tree | 144bc503428ff891e74684da487f04e2fce90d57 /src/components/SvgYacd.js | |
| parent | aceb1b4a365b1d86d66c0538011580eb01270219 (diff) | |
chore: lib classnames -> clsx
Diffstat (limited to 'src/components/SvgYacd.js')
| -rw-r--r-- | src/components/SvgYacd.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/SvgYacd.js b/src/components/SvgYacd.js index b1bc8f0..6c91b15 100644 --- a/src/components/SvgYacd.js +++ b/src/components/SvgYacd.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import cx from 'classnames'; +import cx from 'clsx'; import s from './SvgYacd.module.css'; @@ -9,7 +9,7 @@ function SvgYacd({ height = 320, animate = false, c0 = 'currentColor', - c1 = '#eee' + c1 = '#eee', }) { const faceClasName = cx({ [s.path]: animate }); return ( @@ -42,7 +42,7 @@ function SvgYacd({ SvgYacd.propTypes = { width: PropTypes.number, - height: PropTypes.number + height: PropTypes.number, }; export default SvgYacd; |
