10 lines
No EOL
381 B
Text
10 lines
No EOL
381 B
Text
<link @attributes="AdditionalAttributes" href="/@Assets[href.TrimStart('/')]"/>
|
|
|
|
@code {
|
|
@* ReSharper disable InconsistentNaming *@
|
|
[Parameter, EditorRequired] public required string href { get; set; }
|
|
@* ReSharper restore InconsistentNaming *@
|
|
|
|
[Parameter(CaptureUnmatchedValues = true)]
|
|
public IDictionary<string, object>? AdditionalAttributes { get; set; }
|
|
} |