UNPKG

react-ui89

Version:

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

17 lines (16 loc) 586 B
import React from "react"; import "./Ui89MenuBar.css"; import "../style/typo.css"; import "../style/scrollbar.css"; import "../style/theme.css"; import { Ui89Palette, Ui89Theme } from "../theme"; export interface Ui89MenuBarPropsItem { label: React.ReactNode; onClick?: () => void; children?: Ui89MenuBarPropsItem[]; } export interface Ui89MenuBarProps { theme?: Ui89Theme | keyof typeof Ui89Theme | Ui89Palette | keyof typeof Ui89Palette; items: Ui89MenuBarPropsItem[]; } export declare function Ui89MenuBar({ theme, items, }: Ui89MenuBarProps): React.JSX.Element;