govbr-ds-angular
Version:
Implementação em Angular do Design System GovBR.
23 lines (22 loc) • 1.19 kB
TypeScript
import { SizeOptions } from '../../types/size.type';
import * as i0 from "@angular/core";
/**
* Componente MagicButtonComponent é responsável por exibir um botão mágico com ícone, conjunto de fontes, tamanho e rótulo configuráveis.
* @example
* <app-magic-button [icon]="'fa-magic'" [fontSet]="'fas'" [size]="'large'" [label]="'Clique Aqui'"></app-magic-button>
*
* @public
* {@link https://www.gov.br/ds/components/magicbutton?tab=desenvolvedor|Documentação oficial}
*/
export declare class MagicButtonComponent {
/** Ícone a ser exibido no botão. */
icon: string;
/** Conjunto de fontes a ser utilizado para o ícone. */
fontSet: string;
/** Tamanho do botão. */
size: SizeOptions;
/** Rótulo do botão. */
label: string;
static ɵfac: i0.ɵɵFactoryDeclaration<MagicButtonComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MagicButtonComponent, "app-magic-button", never, { "icon": { "alias": "icon"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
}