Skip to content

Commit 63f4639

Browse files
chore(CircularLoader.jsx): Fixed defaultProps lint error
1 parent 504f48c commit 63f4639

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

components/CircularLoader/CircularLoader.jsx

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ import PropTypes from 'prop-types';
22
import classNames from 'classnames';
33
import styles from './CircularLoader.module.css';
44

5-
const CircularLoader = (props) => {
6-
const { size = 'medium', skin = 'primary', className, ...rest } = props;
7-
5+
const CircularLoader = ({
6+
size = 'medium',
7+
skin = 'primary',
8+
className,
9+
...rest
10+
}) => {
811
const wrapperStyles = classNames(
912
styles.wrapper,
1013
styles[`wrapper-${size}`],

0 commit comments

Comments
 (0)