import { PassThrough, PassThroughOption } from "primeng/api"; /** * Custom passthrough(pt) options. * @template I Type of instance. * * @see {@link RadioButton.pt} * @group Interface */ export interface RadioButtonPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the input's DOM element. */ input?: PassThroughOption; /** * Used to pass attributes to the box's DOM element. */ box?: PassThroughOption; /** * Used to pass attributes to the icon's DOM element. */ icon?: PassThroughOption; } /** * Defines valid pass-through options in RadioButton component. * @see {@link RadioButtonPassThroughOptions} * * @template I Type of instance. */ export type RadioButtonPassThrough = PassThrough>; /** * Custom click event. * @see {@link RadioButton.onClick} * @group Events */ export interface RadioButtonClickEvent { /** * Browser event. */ originalEvent: Event; /** * Browser event. */ value: any; }