Files
HuajisheTools/HuajisheCheckChaoXing/miniprogram_npm/tdesign-miniprogram/divider/README.en-US.md
2025-10-01 10:01:52 +08:00

1.0 KiB
Raw Blame History

:: BASE_DOC ::

API

Divider 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
align String center options: left/right/center N
content String / Slot - see more ts definition N
dashed Boolean false - N
layout String horizontal options: horizontal/vertical N

Divider External Classes

className Description
t-class -
t-class-content -

CSS Variables

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

Name Default Value Description
--td-divider-color @bg-color-component -
--td-divider-content-color @font-gray-3 -
--td-divider-content-font-size 24rpx -
--td-divider-content-line-height 40rpx -
--td-divider-content-line-style solid -