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

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