mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 04:58:05 +08:00
a96262660c
* feat(icon): two-tone color icon implements * generate secondary color from js, and generate icon from C# * remove unused code * render the icons in the prerendering stage * render the icons in the prerendering stage * fixed multiple renders * refactor iconfont * remove should render flag * fix color change * add AvoidPrerendering Co-authored-by: James Yeung <shunjiey@hotmail.com>
12 lines
203 B
C#
12 lines
203 B
C#
namespace AntDesign
|
|
{
|
|
public class IconFont : Icon
|
|
{
|
|
protected override void OnInitialized()
|
|
{
|
|
IconFont = Type;
|
|
base.OnInitialized();
|
|
}
|
|
}
|
|
}
|