Skip to content

Conversation

@JustinyAhin
Copy link
Member

Description

Added documentation for the block navigation component (see #22891)

How has this been tested?

N/A, documentation only

Types of changes

Documentation

Checklist:

  • [n/a] My code is tested.
  • [n/a] My code follows the WordPress code style.
  • [n/a] My code follows the accessibility standards.
  • [n/a] My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.


const MyNavigation = () => <BlockNavigation
onSelect={ onClose }
__experimentalFeatures={ __experimentalFeatures }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we document experimental things? It seems we shouldn't as they are not ready yet.

Copy link
Member Author

@JustinyAhin JustinyAhin Aug 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so also.
We can always update this when the feature is more advanced.

That's why I finally removed it from the code sample.

@youknowriad youknowriad requested a review from talldan August 31, 2020 08:26
Copy link
Member

@mkaz mkaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to document even if experimental, still value.
Looks good 👍

@JustinyAhin JustinyAhin merged commit b859565 into WordPress:master Oct 7, 2020
@github-actions github-actions bot added this to the Gutenberg 9.2 milestone Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants