Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

spining load react component

import Loader from "react-loader-spinner";
export default class App extends React.Component {
  //other logic
  render() {
    return (
      <Loader
        type="Puff"
        color="#00BFFF"
        height={100}
        width={100}
        timeout={3000} //3 secs
      />
    );
  }
}
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #spining #load #react #component
ADD COMMENT
Topic
Name
3+6 =