UNPKG

react-ui89

Version:

A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.

15 lines (14 loc) 439 B
import React, { ReactNode } from "react"; type RouterPush = (url: string) => void | Promise<void>; interface Ui89OverrideType { routerPush?: RouterPush; currentZIndex: number; nextZIndex: () => number; } export interface Ui89OverrideProps { children?: ReactNode; routerPush?: RouterPush; } export declare const Ui89Provider: React.FC<Ui89OverrideProps>; export declare const useUi89: () => Ui89OverrideType; export {};