1.0.2 • Published 11 months ago

@busshi/react-dots-loader v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

publish

React-Dots-Loader

A custom React dots loader component reusable without extra dependency (only React dependencies).

Installation

yarn add @busshi/react-dots-loader or npm install @busshi/react-dots-loader

Custom properties

PropsTypeDefault valueOptional
widthstring20pxx
heightstring20pxx
colorstring#dddx

Note

Colors can be passed as prop as hex (#FFF), rgb (rgb(255, 255, 255)) or as noun (white).

Usage

import DotsLoader from "@busshi/react-dots-loader";

function App() {
  return <DotsLoader width="20px" height="20px" color="#ddd" />;
}

export default App;
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago