@worklifebeyond/wlb-utils-components
v5.1.3
Published
wlb-utils-components
Downloads
90
Readme
wlb-utils-components
install
npm i @worklifebeyond/wlb-utils-components
or
yarn add @worklifebeyond/wlb-utils-components
Running project
- clone repo
npm install
pada root project, tunggu hingga selesainpm install
pada/example/react
, tunggu hingga selesai- pada root project jalankan
npm run watch
- lalu buka terminal lain
- masuk ke
/examples/react
jalankannpm run start
Demo
How to use
- Filter (example)
import { Filter } from "@worklifebeyond/wlb-utils-components";
<Filter
id="filter-wlb"// required | unique
anchorOrigin={anchorOrigin} // optional
transformOrigin={transformOrigin} // optional
onApply={handleApply}
listFilter={listFilter}
>
/* Your react component */
<button>click</button>
</Filter>