You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For our implementation we would like to add a support message under the error message (rendered by <PreviewError />) 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:
<ContentPreviewfileId={FILE_ID}token={TOKEN}renderCustomErrorMessage={(defaultRender)=>(<>{defaultRender()}<p>Please contact support at +1 (234) 567-8910</p></>)}/>
The text was updated successfully, but these errors were encountered:
For our implementation we would like to add a support message under the error message (rendered by
<PreviewError />
) so that the user has some recourse.This could be done through a render prop on the
ContentPreview
component, providing thedefaultRender
orerrorCode
as arguments; much like therenderCustomActionButtons
on `.Example:
The text was updated successfully, but these errors were encountered: