city-casereport/miniprogram_npm/tdesign-miniprogram/divider/README.en-US.md

24 lines
778 B
Markdown
Raw Permalink Normal View History

2023-12-06 14:22:42 +08:00
:: BASE_DOC ::
## API
### Divider Props
name | type | default | description | required
-- | -- | -- | -- | --
align | String | center | optionsleft/right/center | N
content | String / Slot | - | \- | N
dashed | Boolean | false | \- | N
external-classes | Array | - | `['t-class', 't-class-line', 't-class-content']` | N
layout | String | horizontal | optionshorizontal/vertical | N
### 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 | -