|
|
@@ -190,16 +190,16 @@ import { IconAlertTriangle } from '@douyinfe/semi-icons';
|
|
|
|
|
|
### TimeLine.Item
|
|
|
|
|
|
-| Properties | Instruction | type | Default |
|
|
|
-| ---------- | -------------------------------------------------------- | --------------------------------------------------- | --------- |
|
|
|
-| className | Class name | string | - |
|
|
|
-| color | Color of dot | string | - |
|
|
|
-| dot | Custom dot | React Node | - |
|
|
|
-| extra | Custom extra content | React Node | - |
|
|
|
+| Properties | Instruction | type | Default |
|
|
|
+| ---------- | -------------------------------------------------------- | ------------------------------------------------- | --------- |
|
|
|
+| className | Class name | string | - |
|
|
|
+| color | Color of dot | string | - |
|
|
|
+| dot | Custom dot | ReactNode | - |
|
|
|
+| extra | Custom extra content | ReactNode | - |
|
|
|
| position | Custom node location to override TimeLine's mode setting | `left`\|`right` | - |
|
|
|
-| style | Inline style | CSSProperties | - |
|
|
|
-| time | Time value | string | - |
|
|
|
+| style | Inline style | CSSProperties | - |
|
|
|
+| time | Time value | ReactNode | - |
|
|
|
| type | Pattern of dot | `default`\|`ongoing`\|`success`\|`warning`\|`error` | `default` |
|
|
|
|
|
|
## Design Tokens
|
|
|
-<DesignToken/>
|
|
|
+<DesignToken/>
|