@catho/react-floating-badge
Version:
Floating badge with actions for React
82 lines (81 loc) • 2.19 kB
TypeScript
import { BadgePosition } from './types';
export declare const DefaultMenuTheme: {
descriptionBgColor: string;
descriptionFontColor: string;
descriptionFontSize: number;
descriptionMargin: number;
legendFontSize: number;
legendFontColor: string;
legendFontWeight: string;
legendSpacing: number;
itemFontSize: number;
itemVerticalMargin: number;
itemHorizontalMargin: number;
itemBgColor: string;
itemFontColor: string;
itemGlyphColor: string;
separatorColor: string;
width: number;
bottomBarColor: string;
className: undefined;
};
export declare const DefaultMenuProps: {
description: string;
legend: string;
items: never[];
};
export declare const DefaultHintTheme: {
bgColor: string;
className: undefined;
fontColor: string;
fontSize: string;
margin: number;
hintContents: string;
width: number;
};
export declare const DefaultBadgeProps: {
bgColor: string;
className: undefined;
fontColor: string;
height: number;
loading: boolean;
margin: number;
menuEnabled: boolean;
menuTheme: {
descriptionBgColor: string;
descriptionFontColor: string;
descriptionFontSize: number;
descriptionMargin: number;
legendFontSize: number;
legendFontColor: string;
legendFontWeight: string;
legendSpacing: number;
itemFontSize: number;
itemVerticalMargin: number;
itemHorizontalMargin: number;
itemBgColor: string;
itemFontColor: string;
itemGlyphColor: string;
separatorColor: string;
width: number;
bottomBarColor: string;
className: undefined;
};
hintTheme: {
bgColor: string;
className: undefined;
fontColor: string;
fontSize: string;
margin: number;
hintContents: string;
width: number;
};
menu: {
description: string;
legend: string;
items: never[];
};
position: BadgePosition;
showProgress: boolean;
progress: number;
};