UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

19 lines (18 loc) 297 B
const reducer = (state, action) => { switch (action.type) { case "setResult": { const { result } = action; return { result }; } default: throw new Error("invalid action"); } }; export { reducer }; //# sourceMappingURL=reducer.js.map