vuetning
Version:
<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>
166 lines (165 loc) • 4.38 kB
TypeScript
declare const _default: import("vue").DefineComponent<{
/**
* Indicates whether the button has the brand theme.
*/
brand: BooleanConstructor;
/**
* Indicates whether the button has the destructive theme.
*/
destructive: BooleanConstructor;
/**
* Indicates whether the button is disabled.
*/
disabled: BooleanConstructor;
/**
* Indicates whether the button has the inverse theme.
*/
inverse: BooleanConstructor;
/**
* Button label.
* When using the default slot this prop is ignored.
*/
label: StringConstructor;
/**
* Indicates whether the button has the neutral theme.
*/
neutral: BooleanConstructor;
/**
* Indicates whether the button has the outline brand theme.
*/
outlineBrand: BooleanConstructor;
/**
* Indicates whether the button is showing its spinner.
*/
showSpinner: BooleanConstructor;
/**
* Indicates whether the button should stretch.
*/
stretch: BooleanConstructor;
/**
* Indicates whether the button has the success theme.
*/
success: BooleanConstructor;
/**
* Indicates whether the button has the text destructive theme.
*/
textDestructive: BooleanConstructor;
/**
* Button title.
*/
title: StringConstructor;
/**
* Button type.
*/
type: {
type: StringConstructor;
default: string;
};
}, unknown, unknown, {
/**
* The CSS class names for the button.
*/
buttonClassNames(): string;
/**
* The CSS class names for the button icon.
*/
iconClassNames(): string;
/**
* The CSS class names for the label.
*/
labelClassNames(): string;
/**
* The CSS class names for the spinner.
*/
spinnerClassNames(): string;
}, {
/**
* Handles the click event on the button.
* @param event The fired event.
*/
handleClick(event: Event): void;
}, import("vue").DefineComponent<{
iconLeft: BooleanConstructor;
iconName: StringConstructor;
iconRight: BooleanConstructor;
}, unknown, unknown, {
hasLeftPositionedIcon(): boolean;
hasRightPositionedIcon(): boolean;
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
iconLeft: BooleanConstructor;
iconName: StringConstructor;
iconRight: BooleanConstructor;
}>>, {
iconLeft: boolean;
iconRight: boolean;
}, {}>, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Indicates whether the button has the brand theme.
*/
brand: BooleanConstructor;
/**
* Indicates whether the button has the destructive theme.
*/
destructive: BooleanConstructor;
/**
* Indicates whether the button is disabled.
*/
disabled: BooleanConstructor;
/**
* Indicates whether the button has the inverse theme.
*/
inverse: BooleanConstructor;
/**
* Button label.
* When using the default slot this prop is ignored.
*/
label: StringConstructor;
/**
* Indicates whether the button has the neutral theme.
*/
neutral: BooleanConstructor;
/**
* Indicates whether the button has the outline brand theme.
*/
outlineBrand: BooleanConstructor;
/**
* Indicates whether the button is showing its spinner.
*/
showSpinner: BooleanConstructor;
/**
* Indicates whether the button should stretch.
*/
stretch: BooleanConstructor;
/**
* Indicates whether the button has the success theme.
*/
success: BooleanConstructor;
/**
* Indicates whether the button has the text destructive theme.
*/
textDestructive: BooleanConstructor;
/**
* Button title.
*/
title: StringConstructor;
/**
* Button type.
*/
type: {
type: StringConstructor;
default: string;
};
}>>, {
type: string;
brand: boolean;
success: boolean;
disabled: boolean;
inverse: boolean;
outlineBrand: boolean;
neutral: boolean;
destructive: boolean;
showSpinner: boolean;
stretch: boolean;
textDestructive: boolean;
}, {}>;
export default _default;