UNPKG

@ebay/ebayui-core

Version:

Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.

18 lines (17 loc) 672 B
import type { WithNormalizedProps } from "../../global"; export interface RadioEvent { originalEvent: Event; value: string; } interface RadioInput extends Omit<Marko.HTML.Input, `on${string}`> { "icon-style"?: "rounded" | "square"; "on-change"?: (e: RadioEvent, el: HTMLInputElement) => void; "on-focus"?: (e: RadioEvent, el: HTMLInputElement) => void; "on-keydown"?: (e: RadioEvent, el: HTMLInputElement) => void; } export interface Input extends WithNormalizedProps<RadioInput> { } declare class Radio extends Marko.Component<Input> { forwardEvent(eventName: string, originalEvent: Event, el: HTMLInputElement): void; } export default Radio;