UNPKG

funuicss

Version:

React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b

25 lines (24 loc) 603 B
import React from 'react'; type Position = 'left' | 'right'; type Direction = 'dropdown' | 'dropup'; interface DropdownItem { label: React.ReactNode; onClick?: () => void; } interface DropdownProps { direction?: Direction; position?: Position; button: React.ReactNode; items: DropdownItem[]; hoverable?: boolean; openOnHover?: boolean; className?: string; width?: string; minWidth?: string; maxWidth?: string; height?: string; minHeight?: string; maxHeight?: string; } declare const Dropdown: React.FC<DropdownProps>; export default Dropdown;