@page "/speech/wave"
@inject IStringLocalizer<SpeechWaves> Localizer

<h3>@Localizer["SpeechWaveTitle"]</h3>

<h4>@Localizer["SpeechWavesDescription"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]"
           Introduction="@Localizer["NormalIntro"]"
           Name="Normal">
    <SpeechWave Show="@true" ShowUsedTime="false" />
</DemoBlock>

<DemoBlock Title="@Localizer["ShowUsedTimeTitle"]"
           Introduction="@Localizer["ShowUsedTimeIntro"]"
           Name="ShowUsedTime">
    <SpeechWave Show="@true" ShowUsedTime="true" />
</DemoBlock>

<DemoBlock Title="@Localizer["ValueTitle"]"
           Introduction="@Localizer["ValueIntro"]"
           Name="Value">
    <div class="row g-3">
        <div class="col-12">
            <SpeechWave Show="IsShow" />
        </div>
        <div class="col-12">
            <Button Text="@ButtonText" OnClick="OnClickShow"></Button>
        </div>
    </div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
