Variable: ControlMenu
ts
const ControlMenu: DefineComponent<
ExtractPropTypes<
AppendDefault<
{
activator: {
default: () => ExtractPublicDefaultPropTypes<
<Defaults>(
defaults?: Defaults,
) => AppendDefault<PropsOptions, Defaults>
>;
type: PropType<ControlMenuControlButtonProps>;
};
badgeColor: {
default: string;
type: PropType<string>;
};
color: {
default: string;
type: PropType<string>;
};
count: {
default: number;
type: PropType<string | number>;
};
countFormat: {
default: string;
type: PropType<string>;
};
cta: {
default: undefined;
type: PropType<string | undefined>;
};
disabled: {
default: boolean;
type: BooleanConstructor;
};
icon: {
default: undefined;
type: PropType<IconValue | undefined>;
};
inOverflowMenu: {
default: boolean;
type: BooleanConstructor;
};
noPadding: {
default: boolean;
type: BooleanConstructor;
};
},
{}
>
>,
{
close: () => boolean;
isOpen: Ref<boolean, boolean>;
open: () => boolean;
},
{},
{},
{},
ComponentOptionsMixin,
ComponentOptionsMixin,
{},
string,
PublicProps,
ToResolvedProps<
ExtractPropTypes<
AppendDefault<
{
activator: {
default: () => ExtractPublicDefaultPropTypes<
<Defaults>(
defaults?: Defaults,
) => AppendDefault<PropsOptions, Defaults>
>;
type: PropType<ControlMenuControlButtonProps>;
};
badgeColor: {
default: string;
type: PropType<string>;
};
color: {
default: string;
type: PropType<string>;
};
count: {
default: number;
type: PropType<string | number>;
};
countFormat: {
default: string;
type: PropType<string>;
};
cta: {
default: undefined;
type: PropType<string | undefined>;
};
disabled: {
default: boolean;
type: BooleanConstructor;
};
icon: {
default: undefined;
type: PropType<IconValue | undefined>;
};
inOverflowMenu: {
default: boolean;
type: BooleanConstructor;
};
noPadding: {
default: boolean;
type: BooleanConstructor;
};
},
{}
>
>,
{}
>,
{
activator: {
color?: string;
density?: Density;
dividePrependIcon?: boolean;
elevation?: string | number;
height?: string | number | null;
size?: "small" | "x-small" | "medium" | "large" | "x-large";
};
badgeColor: string;
color: string;
count: string | number;
countFormat: string;
cta: string | undefined;
disabled: boolean;
icon: IconValue | undefined;
inOverflowMenu: boolean;
noPadding: boolean;
},
SlotsType<ControMenuButtonSlots>,
{},
{},
string,
ComponentProvideOptions,
true,
{},
any
>;