UNPKG

uicd

Version:

构建 Web 界面组件库 uic

14 lines (13 loc) 392 B
import React, { FC } from 'react'; declare type ButtonSize = "lg" | "sm"; declare type ButtonType = "primary" | "default" | "danger" | "link"; interface ButtonProps { btnType?: ButtonType; size?: ButtonSize; className?: string; disabled?: boolean; href?: string; children?: React.ReactNode; } declare const Button: FC<ButtonProps>; export default Button;