Skip to main content

Feedback


Feedback can render a predefined feedback status (when using the status prop) or render a custom icon (when using the icon prop).

Example

Error!Something went wrong!
<Stack space={0} align="center">
<Feedback
size="medium"
title="Error!"
description="Something went wrong!"
status="negative"
/>
</Stack>

Props

NameTypeDefault ValueRequiredDescription
titlestringYes
descriptionChildrenNo
actionPick<Props, "label" | "onPress">No
size"large" | "medium"Yes
icon(props: IconProps) => ChildrenNo

Use as:

<Feedback
  icon={IconLightbulb}
  // ...
/>
status"positive" | "negative"No