UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

21 lines (20 loc) 798 B
import React from 'react'; import { type BoxProps } from '../Box/Box'; interface BaseDropdownItemProps { iconComponent?: React.ReactNode; label: React.ReactNode; id: string; onClick?: (id: string) => void; isSelected?: boolean; isDisabled?: boolean; horizontalIconGap?: BoxProps['gap']; tagComponent?: React.ReactNode; borderRadius?: BoxProps['borderRadius']; horizontalPadding?: BoxProps['paddingX']; verticalPadding?: BoxProps['paddingY']; } /** * Represents a single option in a dropdown. */ declare function BaseDropdownItem({ iconComponent, label, id, onClick, isSelected, isDisabled, borderRadius, horizontalIconGap, tagComponent, horizontalPadding, verticalPadding, }: BaseDropdownItemProps): React.JSX.Element; export default BaseDropdownItem;