Commit a0d627b9 authored by Robert Knight's avatar Robert Knight

Explain why option to blank placeholder for an icon is useful

parent f56a0a99
......@@ -109,6 +109,8 @@ MenuItem.propTypes = {
*
* If the property is `null` a blank placeholder is displayed in place of an
* icon. If the property is omitted, no placeholder is displayed.
* The placeholder is useful to keep menu item labels aligned in a list if
* some items have icons and others do not.
*/
icon: propTypes.string,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment