UNPKG

@synergy-design-system/react

Version:
31 lines (30 loc) 1.55 kB
import Component from '@synergy-design-system/components/components/radio-button/radio-button.component.js'; import { type EventName } from '@lit/react'; import type { SynBlurEvent } from '@synergy-design-system/components'; import type { SynFocusEvent } from '@synergy-design-system/components'; /** * @summary Radios buttons allow the user to select a single option from a group using a button-like control. * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-radio-button--docs * @status stable * @since 2.0 * * @slot - The radio button's label. * @slot prefix - A presentational prefix icon or similar element. * @slot suffix - A presentational suffix icon or similar element. * * @event syn-blur - Emitted when the button loses focus. * @event syn-focus - Emitted when the button gains focus. * * @csspart base - The component's base wrapper. * @csspart button - The internal `<button>` element. * @csspart button--checked - The internal button element when the radio button is checked. * @csspart prefix - The container that wraps the prefix. * @csspart label - The container that wraps the radio button's label. * @csspart suffix - The container that wraps the suffix. */ export declare const SynRadioButton: import("@lit/react").ReactWebComponent<Component, { onSynBlur: EventName<SynBlurEvent>; onSynFocus: EventName<SynFocusEvent>; }>; export type { SynBlurEvent } from '@synergy-design-system/components'; export type { SynFocusEvent } from '@synergy-design-system/components';