@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
23 lines (22 loc) • 973 B
TypeScript
import React from 'react';
import { type BoxProps } from '../Box/Box';
export type BaseActiveDropdownItemSize = 'compact' | 'regular' | 'large';
export interface BaseActiveDropdownItemProps {
iconComponent?: React.ReactNode;
label: React.ReactNode;
isOpened?: boolean;
onClick?: () => void;
horizontalIconGap?: BoxProps['gap'];
alwaysVisibleLabel?: string;
tagComponent?: React.ReactNode;
tagPosition?: 'start' | 'end';
size?: BaseActiveDropdownItemSize;
color?: BoxProps['color'];
arrowColor?: BoxProps['color'];
background?: BoxProps['background'];
}
/**
* Represents the component used to open the dropdown, usually displayed all the time.
*/
declare function BaseActiveDropdownItem({ iconComponent, label, isOpened, onClick, horizontalIconGap, alwaysVisibleLabel, tagComponent, tagPosition, size, color, arrowColor, background, }: BaseActiveDropdownItemProps): React.JSX.Element;
export default BaseActiveDropdownItem;