UNPKG

@olleemilsson/flowbite-react

Version:

<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <

31 lines (30 loc) 1.05 kB
import type { FC, PropsWithChildren, ReactNode } from 'react'; import React from 'react'; import type { ButtonProps } from '../Button'; import type { FloatingProps, FlowbiteFloatingTheme } from '../Floating'; export interface FlowbiteDropdownFloatingTheme extends FlowbiteFloatingTheme { header: string; item: { base: string; icon: string; }; divider: string; } export interface FlowbiteDropdownTheme { floating: FlowbiteDropdownFloatingTheme; content: string; inlineWrapper: string; arrowIcon: string; } export interface DropdownProps extends PropsWithChildren<Pick<FloatingProps, 'placement' | 'trigger'>>, ButtonProps { label: ReactNode; inline?: boolean; floatingArrow?: boolean; arrowIcon?: boolean; dismissOnClick?: boolean; } export declare const Dropdown: FC<DropdownProps> & { Item: FC<import("./DropdownItem").DropdownItemProps>; Header: FC<PropsWithChildren<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>>; Divider: FC<{}>; };