Compare commits

...

2 Commits

Author SHA1 Message Date
a298003154
626ca4954c
fix(List): remove unused Less var @list-icon-margin-right (#8758)
* docs(PullRefresh): fix spell check

* style(cli): fix spell check about "toogle" -> "toggle" in DemoPlayground.vue

* style(Button): fix spell error

* feat(List): remove unused Less var @list-icon-margin-right
2021-05-25 11:17:15 +08:00
a298003154
7524ab7131
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
2021-05-24 20:39:36 +08:00
4 changed files with 3 additions and 6 deletions

View File

@ -42,7 +42,7 @@ export type ButtonEvents = {
onClick?(event: Event): void;
};
export type ButttonSlots = DefaultSlots & {
export type ButtonSlots = DefaultSlots & {
loading?: ScopedSlot;
};
@ -51,7 +51,7 @@ const [createComponent, bem] = createNamespace('button');
function Button(
h: CreateElement,
props: ButtonProps,
slots: ButttonSlots,
slots: ButtonSlots,
ctx: RenderContext<ButtonProps>
) {
const {
@ -215,4 +215,4 @@ Button.props = {
},
};
export default createComponent<ButtonProps, ButtonEvents, ButttonSlots>(Button);
export default createComponent<ButtonProps, ButtonEvents, ButtonSlots>(Button);

View File

@ -183,7 +183,6 @@ How to use: [Custom Theme](#/en-US/theme).
| Name | Default Value | Description |
| ----------------------- | --------------- | ----------- |
| @list-icon-margin-right | `5px` | - |
| @list-text-color | `@gray-6` | - |
| @list-text-font-size | `@font-size-md` | - |
| @list-text-line-height | `50px` | - |

View File

@ -198,7 +198,6 @@ export default {
| 名称 | 默认值 | 描述 |
| ----------------------- | --------------- | ---- |
| @list-icon-margin-right | `5px` | - |
| @list-text-color | `@gray-6` | - |
| @list-text-font-size | `@font-size-md` | - |
| @list-text-line-height | `50px` | - |

View File

@ -474,7 +474,6 @@
@image-preview-close-icon-z-index: 1;
// List
@list-icon-margin-right: 5px;
@list-text-color: @gray-6;
@list-text-font-size: @font-size-md;
@list-text-line-height: 50px;