UNPKG

react-winplaza-98

Version:

React components with a Win98 a e s t h e c t i c

17 lines (16 loc) 840 B
import React from 'react'; interface WindowTitleButtonProps { onClick?: React.MouseEventHandler<HTMLButtonElement>; } export declare const MinimizeButton: ({ onClick }: WindowTitleButtonProps) => React.JSX.Element; export declare const RestoreButton: ({ onClick }: WindowTitleButtonProps) => React.JSX.Element; export declare const CloseButton: ({ onClick }: WindowTitleButtonProps) => React.JSX.Element; export declare const MaximizeButton: ({ onClick }: WindowTitleButtonProps) => React.JSX.Element; export declare const HelpButton: ({ onClick }: WindowTitleButtonProps) => React.JSX.Element; export interface WindowTitleProps { title?: string; inactive?: boolean; children?: React.ReactNode; } declare const WindowTitle: ({ title, inactive, children }: WindowTitleProps) => React.JSX.Element; export default WindowTitle;