flyloading
v0.0.1
Published
A lightweight, imperative loading ui library for React
Maintainers
Readme
flyloading
현재 개발 중인 리액트 로딩UI 패키지입니다.
This is a React loading UI package currently under development.
Installation
npm i flyloadingQuick Start
import flyLoading from 'flyloading';
import 'flyloading/dist/flyloading.css';
export default function Page() {
const showLoading = () => {
flyLoading.show();
setTimeout(() => {
flyLoading.hide();
}, 3000);
};
return (
<div className="my-container">
<button onClick={showLoading}>show loading</button>
</div>
);
}
License
MIT
