import React from 'react' ; import cx from 'classnames' ; import common from '../../common.scss' ; import styles from './styles.scss' ; type LoaderProps = { type : 'default' | 'circle' | 'small' ; } ; const Loader = ( { type = 'default' } ) => { return ( < span className = { cx ( common . nuclear , type , styles . loader ) } > < span /> < span / > < span /> < span / > < /span>); } ; export default Loader ;