gov-gui
Version:
Gov UI Component Library Typscript Build
202 lines (201 loc) • 5.51 kB
TypeScript
import '../../global/animate.min.css';
/** Buttons are interactive elements that trigger an action when clicked or tapped.
* They come in various styles such as primary, secondary, and icon buttons.
* Buttons can be used to submit forms, open dialogs, or perform other user-initiated actions.
* Their design typically includes visual cues like color, size, and shape to indicate importance and actionability.*/
declare const _default: {
title: string;
tags: string[];
parameters: {
actions: {
handles: string[];
};
};
argTypes: {
size: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
iconSize: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
variant: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
label: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
icon: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
disabled: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
hasSuffix: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
hasPrefix: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
type: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
clicked: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: () => void;
};
category: string;
};
};
animation: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
animationDelay: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
animationSpeed: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
};
};
export default _default;
export declare const Default: any;
/** Disabled button. */
export declare const Disabled: any;
/** Large (lg) button */
export declare const Large: any;
/** Full width (extended) button */
export declare const Extended: any;
/** A button with a different color varient. Available color varients are : *Primary ,Secondary ,Info ,Success ,Warning ,Danger ,White.* */
export declare const ColorVarient: any;