This repository was archived by the owner on Feb 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed
src/MudBlazor.CustomLibrary Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ @if (separator == null )
2+ {
3+ <MudBreadcrumbs Items =" @items" ></MudBreadcrumbs >
4+ }
5+ else
6+ {
7+ <MudBreadcrumbs Items =" @items" Separator =" @separator" ></MudBreadcrumbs >
8+ }
9+
10+ @code {
11+ [Parameter , Required ] public List <BreadcrumbItem > items { get ; set ; } = new ();
12+ [Parameter ] public string separator { get ; set ; }
13+ }
Original file line number Diff line number Diff line change 1+ <MudColorPicker Label =" @label" @bind-Text =" colorValue" Style =" @($" color: {colorValue}; " )" Placeholder =" @placeholder" PickerVariant =" @pickerVariant" />
2+
3+ @code {
4+ [Parameter , Required ] public string label { get ; set ; }
5+ [Parameter ] public PickerVariant pickerVariant { get ; set ; } = PickerVariant .Inline ;
6+ private string colorValue ;
7+ private string placeholder = " Seleziona un colore" ;
8+ }
Original file line number Diff line number Diff line change 1+ <MudLink Href =" @link" Typo =" @typo" Disabled =" @disabled" Underline =" @underline" >@text </MudLink >
2+
3+ @code {
4+ [Parameter , Required ] public string link { get ; set ; }
5+ [Parameter , Required ] public string text { get ; set ; }
6+ [Parameter ] public Typo typo { get ; set ; }
7+ [Parameter ] public bool disabled { get ; set ; } = false ;
8+ [Parameter ] public Underline underline { get ; set ; } = Underline .None ;
9+ }
Original file line number Diff line number Diff line change 1+ <MudRating SelectedValue =" @selectedValue" Disabled =" @disabled" ReadOnly =" @readOnly" Size =" @size" MaxValue =" @maxValue" />
2+
3+ @code {
4+ [Parameter , Required ] public int selectedValue { get ; set ; }
5+ [Parameter ] public bool disabled { get ; set ; } = false ;
6+ [Parameter ] public bool readOnly { get ; set ; } = false ;
7+ [Parameter , Required ] public Size size { get ; set ; } = Size .Small ;
8+ [Parameter , Required ] public int maxValue { get ; set ; } = 5 ;
9+ }
You can’t perform that action at this time.
0 commit comments