@ucloud-pccl/react-components
Version:
UCloud pccl react components
23 lines (22 loc) • 847 B
TypeScript
import React from 'react';
import { Theme } from 'src/style';
import { StyleTypes, Sizes, Shapes } from '../shared';
export declare const iconCls: string;
interface SButtonProps {
styleType: (typeof StyleTypes)[number];
size: (typeof Sizes)[number];
shape?: (typeof Shapes)[number];
loading?: boolean;
disabled?: boolean;
fakeDisabled?: boolean;
checkAble?: boolean;
checked?: boolean;
block?: boolean;
}
export declare const SButton: React.ForwardRefExoticComponent<SButtonProps & React.HTMLAttributes<HTMLButtonElement> & {
theme?: Theme | undefined;
} & React.RefAttributes<HTMLButtonElement>>;
export declare const SButtonA: React.ForwardRefExoticComponent<SButtonProps & React.HTMLAttributes<HTMLAnchorElement> & {
theme?: Theme | undefined;
} & React.RefAttributes<HTMLAnchorElement>>;
export {};