button loaders
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
import SVGLoader from "react-loader-spinner";
|
||||
import './loader.css'
|
||||
|
||||
export const Loader = () => {
|
||||
export const Loader = ({ width=50, height=50 }) => {
|
||||
return (
|
||||
<div className='loader'>
|
||||
<SVGLoader
|
||||
type="Circles"
|
||||
color="#fff"
|
||||
height={50}
|
||||
width={50}
|
||||
height={height}
|
||||
width={width}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user