UNPKG

@cds/core

Version:

Clarity Design System - common components, themes, and utilties

28 lines (27 loc) 704 B
import { CdsButton } from './button.element.js'; /** * Icon buttons give applications a compact alternative to communicate action and direct user intent. * * ```typescript * import '@cds/core/button/register.js'; * ``` * * ```html * <cds-icon-button><cds-icon shape="download"></cds-icon></cds-icon-button> * ``` * * @element cds-icon-button * @slot - Content slot for inside the button * @cssprop --background * @cssprop --border-color * @cssprop --border-radius * @cssprop --border-width * @cssprop --box-shadow-color * @cssprop --color * @cssprop --font-size * @cssprop --height * @cssprop --padding */ export declare class CdsIconButton extends CdsButton { constructor(); }