sudovanilla-website/public/@shoelace-style/shoelace/cdn/react/icon-button/index.d.ts

25 lines
965 B
TypeScript
Raw Normal View History

2024-05-13 22:34:06 -05:00
import Component from '../../components/icon-button/icon-button.component.js';
import { type EventName } from '@lit/react';
import type { SlBlurEvent } from '../../events/events.js';
import type { SlFocusEvent } from '../../events/events.js';
export type { SlBlurEvent } from '../../events/events.js';
export type { SlFocusEvent } from '../../events/events.js';
/**
* @summary Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.
* @documentation https://shoelace.style/components/icon-button
* @status stable
* @since 2.0
*
* @dependency sl-icon
*
* @event sl-blur - Emitted when the icon button loses focus.
* @event sl-focus - Emitted when the icon button gains focus.
*
* @csspart base - The component's base wrapper.
*/
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
onSlBlur: EventName<SlBlurEvent>;
onSlFocus: EventName<SlFocusEvent>;
}>;
export default reactWrapper;