Result
contains feedback content like illustrations, icons and text.
Basic usage of Result component.
Properties | Description | Type | Default |
---|---|---|---|
imgUrl | image url | string | - |
img | image node (could be <img src="" /> or <Icon type="" /> ), which will override imgUrl | ReactNode | - |
title | title of result page | ReactNode | - |
message | message text of result page | ReactNode | - |
buttonType | type of built-in button | string | - |
buttonText | text of built-in button | string | - |
onButtonClick | callback of clicking built-in button | (e: Object): void | - |