[breaking change] Button: remove bottom-action prop

This commit is contained in:
陈嘉涵
2019-04-29 14:31:13 +08:00
parent b8424f8de9
commit 0392db1817
9 changed files with 58 additions and 35 deletions
+1 -4
View File
@@ -26,7 +26,6 @@ export type ButtonProps = RouteProps & {
nativeType?: string;
loadingSize: string;
loadingText?: string;
bottomAction?: boolean;
};
export type ButtonEvents = {
@@ -65,8 +64,7 @@ function Button(
block: props.block,
plain: props.plain,
round: props.round,
square: props.square,
'bottom-action': props.bottomAction
square: props.square
}
]),
{ 'van-hairline--surround': hairline }
@@ -108,7 +106,6 @@ Button.props = {
disabled: Boolean,
nativeType: String,
loadingText: String,
bottomAction: Boolean,
tag: {
type: String,
default: 'button'