WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/empty
yj dd589f646c 初始化 2024-11-20 17:29:49 +08:00
..
README.en-US.md 初始化 2024-11-20 17:29:49 +08:00
README.md 初始化 2024-11-20 17:29:49 +08:00
empty.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
empty.js Initial Commit 2024-11-11 14:16:29 +08:00
empty.json 初始化 2024-11-20 17:29:49 +08:00
empty.wxml Initial Commit 2024-11-11 14:16:29 +08:00
empty.wxs Initial Commit 2024-11-11 14:16:29 +08:00
empty.wxss 初始化 2024-11-20 17:29:49 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts 初始化 2024-11-20 17:29:49 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

README.en-US.md

:: BASE_DOC ::

API

Empty Props

name type default description required
style Object - CSS(Cascading Style Sheets) N
custom-style Object - CSS(Cascading Style Sheets)used to set style on virtual component N
action Slot - action block。see more ts definition N
description String / Slot - empty component description。see more ts definition N
icon String / Object - - N
image String / Slot - image url, or Image component props, or custom any node you need.。see more ts definition N

Empty External Classes

className Description
t-class -
t-class-description -
t-class-image -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles.

Name Default Value Description
--td-empty-action-margin-top @spacer-4 -
--td-empty-description-color @font-gray-3 -
--td-empty-description-font-size @font-size-base -
--td-empty-description-line-height 44rpx -
--td-empty-description-margin-top @spacer-2 -
--td-empty-icon-color @font-gray-3 -