Latest updates from IceHrmPro
This commit is contained in:
36
web/node_modules/antd/lib/typography/Base.d.ts
generated
vendored
Normal file
36
web/node_modules/antd/lib/typography/Base.d.ts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import * as React from 'react';
|
||||
import { TypographyProps } from './Typography';
|
||||
export declare type BaseType = 'secondary' | 'danger' | 'warning';
|
||||
interface CopyConfig {
|
||||
text?: string;
|
||||
onCopy?: () => void;
|
||||
}
|
||||
interface EditConfig {
|
||||
editing?: boolean;
|
||||
onStart?: () => void;
|
||||
onChange?: (value: string) => void;
|
||||
}
|
||||
interface EllipsisConfig {
|
||||
rows?: number;
|
||||
expandable?: boolean;
|
||||
suffix?: string;
|
||||
onExpand?: React.MouseEventHandler<HTMLElement>;
|
||||
}
|
||||
export interface BlockProps extends TypographyProps {
|
||||
title?: string;
|
||||
editable?: boolean | EditConfig;
|
||||
copyable?: boolean | CopyConfig;
|
||||
type?: BaseType;
|
||||
disabled?: boolean;
|
||||
ellipsis?: boolean | EllipsisConfig;
|
||||
code?: boolean;
|
||||
mark?: boolean;
|
||||
underline?: boolean;
|
||||
delete?: boolean;
|
||||
strong?: boolean;
|
||||
}
|
||||
interface InternalBlockProps extends BlockProps {
|
||||
component: string;
|
||||
}
|
||||
declare const _default: React.FC<InternalBlockProps>;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user