koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
3 lines (2 loc) • 484 B
JavaScript
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.DRAWER_CLOSE="DRAWER_CLOSE",e.DRAWER_OPEN="DRAWER_OPEN",e))(t||{});const o={open:void 0},i=(e=o,n)=>{switch(n.type){case"DRAWER_CLOSE":{const{id:r}=n,R=r===e.open?void 0:e.open;return{...e,open:R}}case"DRAWER_OPEN":{const{id:r}=n;return{...e,open:r}}default:return e}};exports.Actions=t;exports.DrawerReducer=i;exports.initialState=o;
//# sourceMappingURL=DrawerReducer.cjs.map