Skip to content

Commit 8897453

Browse files
radkostanevjivanova
authored andcommitted
chore(icons): abide code style when passing icons
1 parent a94c98c commit 8897453

File tree

150 files changed

+554
-547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+554
-547
lines changed

_contentTemplates/grid/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<TelerikGrid Data="@GridData" AutoGenerateColumns="true" Pageable="true">
2828
<GridToolBarTemplate>
2929
<GridCommandButton OnClick="@ShowLoadingSign" Command="ExcelExport" Icon="@FontIcon.FileExcel">Export to Excel</GridCommandButton>
30-
<GridCommandButton OnClick="@ShowLoadingSign" Command="CsvExport" Icon=FontIcon.FileCsv>Export to CSV</GridCommandButton>
30+
<GridCommandButton OnClick="@ShowLoadingSign" Command="CsvExport" Icon="@FontIcon.FileCsv">Export to CSV</GridCommandButton>
3131
</GridToolBarTemplate>
3232
<GridExport>
3333
<GridExcelExport AllPages="true" FileName="telerik-grid-export" />

common-features/loading-sign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ This sample shows only an indicator for the initial data load, only the DELETE o
9898
OnDelete="@DeleteHandlerWithDelay">
9999
<GridColumns>
100100
<GridCommandColumn>
101-
<GridCommandButton Command="Delete" Icon=FontIcon.Trash>Delete</GridCommandButton>
101+
<GridCommandButton Command="Delete" Icon="@FontIcon.Trash">Delete</GridCommandButton>
102102
</GridCommandColumn>
103103
</GridColumns>
104104
</TelerikGrid>

components/autocomplete/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The AutoComplete component allows you to change what is rendered in its items, h
6060
</FooterTemplate>
6161
<NoDataTemplate>
6262
<div class="no-data-template">
63-
<TelerikFontIcon Class="k-icon k-icon-lg" Icon=FontIcon.FilesError></TelerikFontIcon>
63+
<TelerikFontIcon Class="k-icon k-icon-lg" Icon="@FontIcon.FilesError"></TelerikFontIcon>
6464
<p>No items available</p>
6565
</div>
6666
</NoDataTemplate>

components/avatar/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If the `Type` parameter value is not matching the type of the content, you will
4141
4242
<TelerikAvatar Type="AvatarType.Icon">
4343
44-
<TelerikFontIcon Icon=FontIcon.User></TelerikIcon>
44+
<TelerikFontIcon Icon="@FontIcon.User"></TelerikIcon>
4545
4646
</TelerikAvatar>
4747
````

components/breadcrumb/separator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Furthermore, you can take full control over the Separator rendering with the [Se
2323
````CSHTML
2424
@* This example demonstrates how to change the default Telerik icon used as a Breadcrumb Separator*@
2525
26-
<TelerikBreadcrumb SeparatorIcon=FontIcon.CaretDoubleAltRight
26+
<TelerikBreadcrumb SeparatorIcon="@FontIcon.CaretDoubleAltRight"
2727
Data="@Items">
2828
</TelerikBreadcrumb>
2929

components/calendar/templates/decade-cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The template receives the `DateTime` corresponding to its cell.
2525
<DecadeCellTemplate>
2626
@if (yearsWithEvents.Contains(context.Year))
2727
{
28-
<TelerikFontIcon Icon="FontIcon.ExclamationCircle"></TelerikFontIcon>
28+
<TelerikFontIcon Icon="@FontIcon.ExclamationCircle"></TelerikFontIcon>
2929
}
3030
@context.Year
3131
</DecadeCellTemplate>

components/calendar/templates/header-template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ The example below is using a [Calendar reference and methods]({%slug components/
2020
<TelerikCalendar @bind-Value="@CalendarValue" @bind-Date="@CalendarDate">
2121
<HeaderTemplate>
2222
23-
<TelerikButton OnClick="@GoToPrevious" Icon="FontIcon.ArrowLeft" Title="Go to Previous Month"></TelerikButton>
23+
<TelerikButton OnClick="@GoToPrevious" Icon="@FontIcon.ArrowLeft" Title="Go to Previous Month"></TelerikButton>
2424
<TelerikButton OnClick="@SelectToday">Today</TelerikButton>
25-
<TelerikButton OnClick="@GoToNext" Icon="FontIcon.ArrowRight" Title="Go to Next Month"></TelerikButton>
25+
<TelerikButton OnClick="@GoToNext" Icon="@FontIcon.ArrowRight" Title="Go to Next Month"></TelerikButton>
2626
27-
<TelerikFontIcon Icon="FontIcon.ParameterDateTime" /> @CalendarValue.ToShortDateString()
27+
<TelerikFontIcon Icon="@FontIcon.ParameterDateTime" /> @CalendarValue.ToShortDateString()
2828
2929
</HeaderTemplate>
3030
</TelerikCalendar>

components/calendar/templates/year-cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The template receives the `DateTime` corresponding to its cell.
2525
<YearCellTemplate>
2626
@if (monthsWithEvents.Contains(context.Month))
2727
{
28-
<TelerikFontIcon Icon="FontIcon.RoundCorners"></TelerikFontIcon>
28+
<TelerikFontIcon Icon="@FontIcon.RoundCorners"></TelerikFontIcon>
2929
}
3030
@context.ToString("MMM")
3131
</YearCellTemplate>

components/card/image.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Every Blazor Card can have a dedicated area to render a card image that will fil
2828
<CardImage Src="https://docs.telerik.com/blazor-ui/components/card/images/rila_lakes.jpg"></CardImage>
2929
3030
<CardActions Layout="CardActionsLayout.Stretch">
31-
<TelerikButton Class="k-flat" Icon="FontIcon.HeartOutline" Title="Like"></TelerikButton>
32-
<TelerikButton Class="k-flat" Icon="SvgIcon.Comment" Title="Comment"></TelerikButton>
33-
<TelerikButton Class="k-flat" Icon="SvgIcon.Share" Title="Share"></TelerikButton>
31+
<TelerikButton Class="k-flat" Icon="@FontIcon.HeartOutline" Title="Like"></TelerikButton>
32+
<TelerikButton Class="k-flat" Icon="@SvgIcon.Comment" Title="Comment"></TelerikButton>
33+
<TelerikButton Class="k-flat" Icon="@SvgIcon.Share" Title="Share"></TelerikButton>
3434
</CardActions>
3535
</TelerikCard>
3636
````

components/card/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ The below snippet demonstrates the setup of a Card component with all building b
4343
</p>
4444
</CardBody>
4545
<CardActions Layout="@CardActionsLayout.Stretch">
46-
<TelerikButton Class="k-flat" Icon="FontIcon.HeartOutline" Title="Like"></TelerikButton>
47-
<TelerikButton Class="k-flat" Icon="SvgIcon.Comment" Title="Comment"></TelerikButton>
46+
<TelerikButton Class="k-flat" Icon="@FontIcon.HeartOutline" Title="Like"></TelerikButton>
47+
<TelerikButton Class="k-flat" Icon="@SvgIcon.Comment" Title="Comment"></TelerikButton>
4848
<TelerikButton Class="k-flat">Read More</TelerikButton>
4949
</CardActions>
5050
<CardFooter>

0 commit comments

Comments
 (0)