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.

7 lines (6 loc) 205 B
import { ButtonState } from "./state"; /** * useButton is a hook that creates and manages a Button's state on the * Airplane context */ export declare const useButtonState: (id: string) => ButtonState;