Latest updates from IceHrmPro
This commit is contained in:
43
web/node_modules/antd/es/mentions/index.d.ts
generated
vendored
Normal file
43
web/node_modules/antd/es/mentions/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
import * as React from 'react';
|
||||
import RcMentions from 'rc-mentions';
|
||||
import { MentionsProps as RcMentionsProps } from 'rc-mentions/lib/Mentions';
|
||||
import { ConfigConsumerProps, RenderEmptyHandler } from '../config-provider';
|
||||
export declare type MentionPlacement = 'top' | 'bottom';
|
||||
export interface OptionProps {
|
||||
value: string;
|
||||
children: React.ReactNode;
|
||||
[key: string]: any;
|
||||
}
|
||||
export interface MentionProps extends RcMentionsProps {
|
||||
loading?: boolean;
|
||||
}
|
||||
export interface MentionState {
|
||||
focused: boolean;
|
||||
}
|
||||
interface MentionsConfig {
|
||||
prefix?: string | string[];
|
||||
split?: string;
|
||||
}
|
||||
interface MentionsEntity {
|
||||
prefix: string;
|
||||
value: string;
|
||||
}
|
||||
declare class Mentions extends React.Component<MentionProps, MentionState> {
|
||||
static Option: React.FunctionComponent<import("rc-mentions/lib/Option").OptionProps>;
|
||||
static getMentions: (value?: string, config?: MentionsConfig | undefined) => MentionsEntity[];
|
||||
state: {
|
||||
focused: boolean;
|
||||
};
|
||||
private rcMentions;
|
||||
onFocus: React.FocusEventHandler<HTMLTextAreaElement>;
|
||||
onBlur: React.FocusEventHandler<HTMLTextAreaElement>;
|
||||
getNotFoundContent(renderEmpty: RenderEmptyHandler): {} | null | undefined;
|
||||
getOptions: () => {} | null | undefined;
|
||||
getFilterOption: () => any;
|
||||
saveMentions: (node: typeof RcMentions) => void;
|
||||
focus(): void;
|
||||
blur(): void;
|
||||
renderMentions: ({ getPrefixCls, renderEmpty, direction }: ConfigConsumerProps) => JSX.Element;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
export default Mentions;
|
||||
Reference in New Issue
Block a user