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.

10 lines (9 loc) 266 B
import { TabsState, TabsValue } from "./state"; export type Action = { type: "setValue"; value: TabsValue; }; export type ReducerState = { value: TabsState["value"]; }; export declare const reducer: (state: ReducerState, action: Action) => ReducerState;