File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
v2/rscg_examples/BlazorOcticons/src/BlazorDemo Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1414
1515
1616 <ItemGroup >
17- <PackageReference Include =" BlazorOcticons" Version =" 1.2.0" />
18- <PackageReference Include =" BlazorOcticonsGenerator" Version =" 1.2.0" >
17+ <PackageReference Include =" BlazorOcticons" Version =" 1.3.0" />
18+ <PackageReference Include =" BlazorOcticonsGenerator" Version =" 1.3.0" >
19+ <PrivateAssets >all</PrivateAssets >
20+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1921 </PackageReference >
2022 <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 10.0.1" />
2123 <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 10.0.1" PrivateAssets =" all" />
2224 </ItemGroup >
25+
26+ <!-- Use only local test icons -->
27+ <ItemGroup >
28+ <AdditionalFiles Remove =" $(BlazorOcticonsIconsPath)**\*.svg" />
29+ </ItemGroup >
2330
2431
2532 <PropertyGroup >
Original file line number Diff line number Diff line change 1+ <svg xmlns =" http://www.w3.org/2000/svg" width =" @Size" height =" @Size" viewBox =" 0 0 16 16" ><path fill =" @Color" d =" M9.923 5.302c.063.063.122.129.178.198H14A.75.75 0 0 1 14 7h-3.3l.578 5.163.362 2.997a.75.75 0 0 1-1.49.18L9.868 13H6.132l-.282 2.34a.75.75 0 0 1-1.49-.18l.362-2.997L5.3 7H2a.75.75 0 0 1 0-1.5h3.9a2.54 2.54 0 0 1 .176-.198 3 3 0 1 1 3.847 0ZM9.2 7.073h-.001a1.206 1.206 0 0 0-2.398 0L6.305 11.5h3.39ZM9.5 3a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 3Z" /></svg >
2+
3+ @code
4+ {
5+ [Parameter ]
6+ public string Color { get ; set ; } = " #000" ;
7+
8+ [Parameter ]
9+ public int Size { get ; set ; } = 16 ;
10+ }
Original file line number Diff line number Diff line change 77Welcome to your new app.
88Here is the GitHub icon in purple, size 48:
99More icons are available at <a href =" https://blazorocticons.net/" target =" _blank" >https://blazorocticons.net/</a >
10- <MarkGithub16 Color =" #702AF7" Size =" 48" />
10+ <MarkGithub16 Color =" #702AF7" Size =" 48" />
11+
12+ <BlazorDemo .Octicons.Andrei16 Size =" 48" />
You can’t perform that action at this time.
0 commit comments