import { TargetValueEvent } from '../types'; import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface RadioGroupProps { /** Name of group, assigned to all child `pyro-radio`s */ name: string; /** If provided, sets radio with same value as checked by default */ value?: string; onInput?: (e: TargetValueEvent) => void; /** Slot for radios */ children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-radio-group': DefineComponent; } } interface PyroRadioGroupPreact extends Omit, RadioGroupProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-radio-group': PyroRadioGroupPreact; } } } interface PyroRadioGroupSvelte extends Omit, keyof RadioGroupProps>, RadioGroupProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-radio-group': PyroRadioGroupSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-radio-group': PyroRadioGroupPreact; } } } export {};