mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-24 04:42:56 +01:00
20 lines
443 B
Plaintext
20 lines
443 B
Plaintext
<div>
|
|
<div class="progress-label">@ChildContent</div>
|
|
<div class="progress">
|
|
<div class="progress-bar" role="progressbar" style="width: @(100 * Value / Maximum)%;" aria-valuenow="@Value" aria-valuemin="0" aria-valuemax="@Maximum"></div>
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
|
|
[Parameter]
|
|
public long Value { get; set; }
|
|
|
|
[Parameter]
|
|
public long Maximum { get; set; }
|
|
|
|
[Parameter]
|
|
public RenderFragment? ChildContent { get; set; }
|
|
|
|
}
|