Latest updates from IceHrmPro
This commit is contained in:
33
web/node_modules/antd/lib/rate/index.d.ts
generated
vendored
Normal file
33
web/node_modules/antd/lib/rate/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import * as React from 'react';
|
||||
import { ConfigConsumerProps } from '../config-provider';
|
||||
export interface RateProps {
|
||||
prefixCls?: string;
|
||||
count?: number;
|
||||
value?: number;
|
||||
defaultValue?: number;
|
||||
allowHalf?: boolean;
|
||||
allowClear?: boolean;
|
||||
disabled?: boolean;
|
||||
tooltips?: Array<string>;
|
||||
onChange?: (value: number) => void;
|
||||
onHoverChange?: (value: number) => void;
|
||||
character?: React.ReactNode;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
interface RateNodeProps {
|
||||
index: number;
|
||||
}
|
||||
export default class Rate extends React.Component<RateProps, any> {
|
||||
static defaultProps: {
|
||||
character: JSX.Element;
|
||||
};
|
||||
private rcRate;
|
||||
saveRate: (node: any) => void;
|
||||
characterRender: (node: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, { index }: RateNodeProps) => JSX.Element;
|
||||
focus(): void;
|
||||
blur(): void;
|
||||
renderRate: ({ getPrefixCls, direction }: ConfigConsumerProps) => JSX.Element;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user