import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Custom passthrough(pt) options. * @template I Type of instance. * * @see {@link RadioButton.pt} * @group Interface */ 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. */ type RadioButtonPassThrough = PassThrough>; /** * Custom click event. * @see {@link RadioButton.onClick} * @group Events */ interface RadioButtonClickEvent { /** * Browser event. */ originalEvent: Event; /** * Browser event. */ value: any; } export type { RadioButtonClickEvent, RadioButtonPassThrough, RadioButtonPassThroughOptions };