Render lets you define a custom component or string to render instead of the
default.
In the simplest case, you can provide a string to render a text message.
```js
{
// ...
render: "Hello, world!",
}
```
You can also provide a function to dynamically set the content of the message.
```js
{
// ...
render: ({status, args, result}) => status === "complete" ? "Done!" : "Processing...",
}
```
In this case, `status` is the execution status of the action, `args` are the
possibly incomplete, streaming arguments, and `result` is the result of the action.
Finally, you can return a React component to render a custom component.
```js
{
// ...
render: ({status, args, result}) => (
{status === "complete" ? "Done!" : "Processing..."}
),
}
```
## Parameter