Add the ability to customize the preview error
Open
- Dominant language
- TypeScript
- Stars
- 551
- Forks
- 351
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 31
Description
For our implementation we would like to add a support message under the error message (rendered by ``) so that the user has some recourse.
This could be done through a render prop on the `ContentPreview` component, providing the `defaultRender` or `errorCode` as arguments; much like the `renderCustomActionButtons` on `.
**Example:**
```jsx
(
<>
{defaultRender()}
Please contact support at +1 (234) 567-8910
)}
/>
```
Contributor guide
Assessment
This issue has not been assessed yet.