A number of components have inconsistent naming conventions for rendering the text.
We have internally discussed and agreed we want to standardize all things:
Proposal:
Text should be rendered with the text prop.
Secondary text should be rendered with the secondaryText prop.
Work:
Persona: currently has "primaryText". This should be deprecated in favor of "text".
ContextualMenuItem: currently uses "name", deprecate in favor of "text"
Button: currently uses "description", deprecate in favor of "secondaryText"
ComboBox items: currently uses "value", deprecate in favor of "text"
These should be cleaned up, warnings added, and examples updated.
A number of components have inconsistent naming conventions for rendering the text.
We have internally discussed and agreed we want to standardize all things:
Proposal:
Text should be rendered with the
textprop.Secondary text should be rendered with the
secondaryTextprop.Work:
Persona: currently has "primaryText". This should be deprecated in favor of "text".
ContextualMenuItem: currently uses "name", deprecate in favor of "text"
Button: currently uses "description", deprecate in favor of "secondaryText"
ComboBox items: currently uses "value", deprecate in favor of "text"
These should be cleaned up, warnings added, and examples updated.