react-ui89
Version:
A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.
19 lines (18 loc) • 652 B
TypeScript
import React from "react";
import "../style/text.css";
export interface Ui89PopoverPropsRenderContainerProps {
props: React.HTMLProps<Element>;
setRef: any;
}
export interface Ui89PopoverProps<T> {
open: boolean;
onOpenChange: (value: boolean) => void;
/**
* How large the popover can be if there if the viewport is larger than the
* width of the container.
*/
popoverOverflowMaxWidth?: number;
renderContainer: (props: Ui89PopoverPropsRenderContainerProps) => React.ReactNode;
renderPopover: () => React.ReactNode;
}
export declare function Ui89Popover<T>(props: Ui89PopoverProps<T>): React.JSX.Element;