mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(Button): fix spell error (#8755)
* docs(PullRefresh): fix spell check * style(cli): fix spell check about "toogle" -> "toggle" in DemoPlayground.vue * style(Button): fix spell error
This commit is contained in:
parent
6d3dbc3485
commit
7524ab7131
@ -42,7 +42,7 @@ export type ButtonEvents = {
|
|||||||
onClick?(event: Event): void;
|
onClick?(event: Event): void;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ButttonSlots = DefaultSlots & {
|
export type ButtonSlots = DefaultSlots & {
|
||||||
loading?: ScopedSlot;
|
loading?: ScopedSlot;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ const [createComponent, bem] = createNamespace('button');
|
|||||||
function Button(
|
function Button(
|
||||||
h: CreateElement,
|
h: CreateElement,
|
||||||
props: ButtonProps,
|
props: ButtonProps,
|
||||||
slots: ButttonSlots,
|
slots: ButtonSlots,
|
||||||
ctx: RenderContext<ButtonProps>
|
ctx: RenderContext<ButtonProps>
|
||||||
) {
|
) {
|
||||||
const {
|
const {
|
||||||
@ -215,4 +215,4 @@ Button.props = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default createComponent<ButtonProps, ButtonEvents, ButttonSlots>(Button);
|
export default createComponent<ButtonProps, ButtonEvents, ButtonSlots>(Button);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user