mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
34af3ec550
* feat: component token naming rules * dcos: update * feat: modal token rename * feat: rename result token * feat: statsitic token rename * feat: steps token remane * chore: update snapshot * chore: fix lint * feat: semantic part component * revert: button & notification * revert: files * chore: code clean
1.3 KiB
1.3 KiB
group | category | title | cover | coverDark |
---|---|---|---|---|
Feedback | Components | Result | https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*-e2IRroDJyEAAAAAAAAAAAAADrJ8AQ/original | https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*-0kxQrbHx2kAAAAAAAAAAAAADrJ8AQ/original |
Used to feed back the results of a series of operational tasks.
When To Use
Use when important operations need to inform the user to process the results and the feedback is more complicated.
Examples
Success
Info
Warning
403
404
500
Error
Custom icon
Component Token
API
Property | Description | Type | Default |
---|---|---|---|
extra | Operating area | ReactNode | - |
icon | Custom back icon | ReactNode | - |
status | Result status, decide icons and colors | success | error | info | warning | 404 | 403 | 500 |
info |
subTitle | The subTitle | ReactNode | - |
title | The title | ReactNode | - |