@base-framework/organisms
Version:
This will add default organisms to the base framework.
3 lines (2 loc) • 487 B
JavaScript
import{c as o,d as i,n}from"./chunk-P5RHTUF4.js";import{a as r}from"./chunk-PPCZWNAX.js";import{Div as m}from"@base-framework/atoms";import{Atom as s}from"@base-framework/base";var d=s((t,l)=>{let a=new r(t.offset,t.limit),c=t.loadMoreItems||n(t.data,t.xhrMethod);return m({class:t.containerClass??"flex flex-col",onCreated(h,f){let e=o(f,t.listCache);e&&(i(c,a,e),e.resetPagination=()=>a.reset(),e.refresh())}},l)}),g=d;export{d as a,g as b};
//# sourceMappingURL=chunk-BITJFWFE.js.map