UNPKG

@ryanhelsing/ry-ui

Version:

Framework-agnostic, Light DOM web components. CSS is the source of truth.

19 lines 528 B
/** * <ry-button> * * Button component that renders as a native button. * Supports variant and size attributes. * * Usage: * <ry-button>Click me</ry-button> * <ry-button variant="ghost" size="sm">Small ghost</ry-button> * <ry-button modal="my-modal">Open modal</ry-button> * * No data-ry-target needed - button has no internal structure. */ import { RyElement } from '../core/ry-element.js'; export declare class RyButton extends RyElement { #private; setup(): void; } //# sourceMappingURL=ry-button.d.ts.map