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

24 lines
718 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
import { CSSTransitionProps } from '../csstransition';
interface FieldsetToggleParams {
originalEvent: React.MouseEvent<HTMLElement>;
value: boolean;
}
export interface FieldsetProps {
id?: string;
legend?: React.ReactNode;
className?: string;
style?: object;
toggleable?: boolean;
collapsed?: boolean;
transitionOptions?: CSSTransitionProps;
onExpand?(event: React.MouseEvent<HTMLElement>): void;
onCollapse?(event: React.MouseEvent<HTMLElement>): void;
onToggle?(e: FieldsetToggleParams): void;
onClick?(event: React.MouseEvent<HTMLElement>): void;
}
export declare class Fieldset extends React.Component<FieldsetProps, any> { }