Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

31
web/node_modules/antd/es/switch/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,31 @@
import * as React from 'react';
import { ConfigConsumerProps } from '../config-provider';
export declare type SwitchSize = 'small' | 'default';
export declare type SwitchChangeEventHandler = (checked: boolean, event: MouseEvent) => void;
export declare type SwitchClickEventHandler = SwitchChangeEventHandler;
export interface SwitchProps {
prefixCls?: string;
size?: SwitchSize;
className?: string;
checked?: boolean;
defaultChecked?: boolean;
onChange?: SwitchChangeEventHandler;
onClick?: SwitchClickEventHandler;
checkedChildren?: React.ReactNode;
unCheckedChildren?: React.ReactNode;
disabled?: boolean;
loading?: boolean;
autoFocus?: boolean;
style?: React.CSSProperties;
title?: string;
}
export default class Switch extends React.Component<SwitchProps, {}> {
static __ANT_SWITCH: boolean;
private rcSwitch;
constructor(props: SwitchProps);
saveSwitch: (node: any) => void;
focus(): void;
blur(): void;
renderSwitch: ({ getPrefixCls, direction }: ConfigConsumerProps) => JSX.Element;
render(): JSX.Element;
}