diff --git a/README.md b/README.md index 6859f46..02a43f8 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,22 @@ Generate Icon components from official ant-design-icons repo with Source Generators. +You can add all icons from https://ant.design/components/icon + ## Usage -```razor -@AlertTwotone.RenderIcon(twoToneColor:["#52c41a", "#398439"]) +- Install package + ```bash + $ dotnet add package AntDesign + ``` + +- Add `@using AntDesign.Icons` to your `_Imports.razor` file + +- Use `@AlertTwotone.RenderIcon()` or `` to render an icon. + + + ```razor + @AlertTwotone.RenderIcon(twoToneColor:["#52c41a", "#398439"]) - -``` \ No newline at end of file + + ```