docs: remove BoxAlignmentStyleProps unset "@default" from types #7982
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GridandFlexshare the defaults doc strings set forjustifyContent,alignContentandalignItems, fromBoxAlignmentStyleProps. However, no such defaults are actually set by the components, they are just passthroughStyle props for grid and normalize flex-start/start flex-end/end for flex, but neither explicitly set the stated defaults. They resolve in as justnormalcomputed styles by the browser.The doc string is misleading, and should be removed. My guess was the defaults were written as such to reference the fast that a browsers "normal" setting behaves similar to the defaults mentioned, so maybe that's why they were added? Or maybe at one point those were the defaults? However, claiming to set a default in the doc string, when it is not in the component is confusing.
Doc strings shown as default:

Defaults not actually set:

PR removes the docstring only, component behaviour is as current (no default).