katoikia-app/web-ui/web-react/node_modules/primereact/radiobutton/radiobutton.d.ts

39 lines
943 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
import TooltipOptions from '../tooltip/tooltipoptions';
interface RadioButtonChangeTargetOptions {
name: string;
id: string;
value: any;
checked: boolean;
}
interface RadioButtonChangeParams {
originalEvent: React.SyntheticEvent;
value: any;
checked: boolean;
stopPropagation(): void;
preventDefault(): void;
target: RadioButtonChangeTargetOptions;
}
export interface RadioButtonProps {
id?: string;
inputRef?: React.Ref<HTMLInputElement>;
inputId?: string;
name?: string;
value?: any;
checked?: boolean;
style?: object;
className?: string;
disabled?: boolean;
required?: boolean;
tabIndex?: number;
tooltip?: string;
tooltipOptions?: TooltipOptions;
ariaLabelledBy?: string;
onChange?(e: RadioButtonChangeParams): void;
}
export declare class RadioButton extends React.Component<RadioButtonProps, any> { }