Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Deprecates INavLink.iconClassName in favor of IIconProps.className.",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ export interface INavLink {
icon?: string;

/**
* Classname to apply to the icon link.
* iconClassName has been deprecated in favor of IIconProps. Use IIconProps.className instead.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you change IIconProps (the Type) to iconProps (the actual prop of type IIconProps you want to use).

Nitpicky I know, but clarity is everything in the documentation.

* @deprecated
*/
iconClassName?: string;

Expand Down