@progress/kendo-react-barcodes
Version:
React Barcodes provide a set of React components to build beautiful and customizable barcodes. KendoReact Barcodes package
24 lines (23 loc) • 655 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
const d = (r, e) => {
if (e.type)
switch (e.type) {
case "add":
return [...r, e.payload];
case "remove":
return r.filter((s) => s !== e.payload);
default:
return r;
}
else
return [];
};
export {
d as observersReducer
};