riku
2024-08-14 f2a0ea849099f49a3d2a9c7e5c44d033df22468f
miniprogram_npm/tdesign-miniprogram/image/README.en-US.md
@@ -1,10 +1,12 @@
:: BASE_DOC ::
## API
### Image Props
name | type | default | description | required
-- | -- | -- | -- | --
t-id | String | - | `1.2.10`. image tag id | N
error | String / Slot | 'default' | \- | N
external-classes | Array | - | `['t-class', 't-class-load']` | N
height | String / Number | - | \- | N
@@ -23,3 +25,13 @@
-- | -- | --
error | \- | \-
load | \- | \-
### CSS Variables
The component provides the following CSS variables, which can be used to customize styles.
Name | Default Value | Description
-- | -- | --
--td-image-color | @font-gray-3 | -
--td-image-loading-bg-color | @bg-color-secondarycontainer | -
--td-image-loading-color | @font-gray-3 | -
--td-image-round-radius | @radius-default | -