UNPKG

react-ui89

Version:

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

18 lines (17 loc) 539 B
import React from "react"; import "./Ui89Tabs.css"; import "../style/typo.css"; export interface Ui89TabsPropsOption { value: string | number; label: React.ReactNode; } export interface Ui89TabsProps { selected?: any; onChange?: (value: string | number) => void; options?: Ui89TabsPropsOption[]; /** * Stretch options such that they evenly take up the entire width. */ stretch?: boolean; } export declare function Ui89Tabs({ selected, onChange, options, stretch, }: Ui89TabsProps): React.JSX.Element;