[new feature] SubmitBar: add decimal-length prop (#3151)

This commit is contained in:
neverland
2019-04-15 17:59:56 +08:00
committed by GitHub
parent ae73af819d
commit ffe82e2f06
6 changed files with 40 additions and 8 deletions

View File

@@ -7,10 +7,14 @@ import Loading from '../loading';
import { CreateElement, RenderContext } from 'vue/types';
import { DefaultSlots } from '../utils/use/sfc';
export type ButtonType = 'default' | 'primary' | 'info' | 'warning' | 'danger';
export type ButtonSize = 'large' | 'normal' | 'small' | 'mini';
export type ButtonProps = RouteProps & {
tag: keyof HTMLElementTagNameMap | string;
type: 'default' | 'primary' | 'info' | 'warning' | 'danger';
size: 'large' | 'normal' | 'small' | 'mini';
type: ButtonType;
size: ButtonSize;
text?: string;
block?: boolean;
plain?: boolean;