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:
a298003154 2021-05-24 20:39:36 +08:00 committed by GitHub
parent 6d3dbc3485
commit 7524ab7131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);