Skip to content

Commit f147f90

Browse files
committed
chore(notification): change names of the Icon and IconName
1 parent b2b969c commit f147f90

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/notification/open-close-hide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ You can pass the entire [NotificationModel]({%slug notification-overview%}#notif
7272
{
7373
Text = "My Notification",
7474
ThemeColor = "success",
75-
Icon = true,
76-
IconName = IconName.Star,
75+
ShowIcon = true,
76+
Icon = IconName.Star,
7777
Closable = false
7878
});
7979
}
@@ -118,7 +118,7 @@ You can also let the user dismiss a notification message before that timer elaps
118118
ThemeColor = "success",
119119
Closable = false,
120120
CloseAfter = 2000,
121-
IconName = IconName.Star
121+
Icon = IconName.Star
122122
});
123123
}
124124
}
@@ -148,7 +148,7 @@ You can prevent the notification from closing automatically and let the user clo
148148
ThemeColor = "success",
149149
Closable = true,
150150
CloseAfter = 0,
151-
IconName = IconName.Star
151+
Icon = IconName.Star
152152
});
153153
}
154154
}

components/notification/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ The `NotificationModel` class is used to add new notifications to the page. You
8686

8787
* `CloseAfter` - `int`, defaults to `5000` ms - allows you to configure after how much time the Notification component will close automatically. Set it to `0` to prevent it from closing automatically.
8888

89-
* `Icon` - `bool`, defaults to `true` - allows you to specify whether an icon should appear for the component.
89+
* `ShowIcon` - `bool`, defaults to `true` - allows you to specify whether an icon should appear for the component.
9090

91-
* `IconName` - `string` - specifies the icon that will render in the component if the `ShowIcon` parameter is set to `true`. You can find more information on adding an icon to a Telerik Component in [Telerik Font Icons article]({%slug general-information/font-icons%}#icon-in-telerik-component).
91+
* `Icon` - `string` - specifies the icon that will render in the component if the `ShowIcon` parameter is set to `true`. You can find more information on adding an icon to a Telerik Component in [Telerik Font Icons article]({%slug general-information/font-icons%}#icon-in-telerik-component).
9292

9393
* `Text` - `string` - the text that will be rendered in the Notification component.
9494

0 commit comments

Comments
 (0)