Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] fix AutoSaveToolbar is not a ReactElement #9157

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

adguernier
Copy link
Contributor

When I tried to use AutoSave toolbar, as described in the documentation, TS throw an error Type '() => JSX.Element' is not assignable to type 'false | ReactElement<any, string | JSXElementConstructor<any>> | undefined'

Todo

  • Add missing tags in the documentation snippet to make AutoSave a ReactElement

@fzaninotto fzaninotto merged commit 3235458 into master Aug 3, 2023
3 checks passed
@fzaninotto fzaninotto deleted the doc-fix-auto-save-toolbar-is-not-a-react-node branch August 3, 2023 13:11
@fzaninotto fzaninotto changed the title [no-ci][Doc] fix AutoSaveToolbar is not a ReactElement [Doc] fix AutoSaveToolbar is not a ReactElement Aug 3, 2023
@fzaninotto fzaninotto added this to the 4.12.4 milestone Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants