ant-design/components/result/index.en-US.md
二货爱吃白萝卜 20561d6f9d
docs: Fix component doc alignment & support import usage ()
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00

1.4 KiB
Raw Blame History

group category title description cover coverDark
Feedback Components Result Used to feedback the processing results of a series of operations. https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*-e2IRroDJyEAAAAAAAAAAAAADrJ8AQ/original https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*-0kxQrbHx2kAAAAAAAAAAAAADrJ8AQ/original

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

Common props refCommon props

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 -

Design Token