@hhgtech/hhg-components
Version:
Hello Health Group common components
24 lines (23 loc) • 810 B
TypeScript
import React, { CSSProperties } from 'react';
type Item = {
value?: string | number;
label: string;
icon: JSX.Element;
onClick: () => void;
keepMenuOnClick?: boolean;
};
export type FloatButtonGroupType = {
items: Item[];
className?: string;
style?: CSSProperties;
backgroundPanelStyle?: CSSProperties;
isOpen?: boolean;
onOpen?: () => void;
onClose?: () => void;
disableBackdropClick?: boolean;
siteType?: 'hb' | 'mb';
animationType?: 'zoom' | 'slide' | 'scale';
zIndex?: number;
};
export declare const FloatButtonGroup: ({ items, className, style, backgroundPanelStyle, isOpen: isOpenProp, onOpen, onClose, disableBackdropClick, siteType, animationType, zIndex, }: FloatButtonGroupType) => React.JSX.Element;
export {};