Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import './loader.style.scss';
- const Loader = (props) => {
- if (props.isLoading) {
- return (<div className="lds-ripple"><div></div><div></div></div>);
- } else {
- return null;
- }
- }
- export default Loader;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement