mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-04-30 02:18:15 +08:00
Compare commits
2 Commits
6d3dbc3485
...
626ca4954c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
626ca4954c | ||
|
|
7524ab7131 |
@ -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);
|
||||
|
||||
@ -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` | - |
|
||||
|
||||
@ -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` | - |
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user