Skip to content

Commit c8be30a

Browse files
authored
Updated MudFileUpload param (#412)
1 parent 731f1b9 commit c8be30a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CodeBeam.MudBlazor.Extensions/Components/CsvMapper/MudCsvMapper.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<MudFileUpload T="IBrowserFile" Accept=".csv" OnFilesChanged="OnInputFileChanged" Hidden="false" Class="flex-1 d-flex justify-center align-content-center my-2"
2121
InputClass="absolute mud-width-full mud-height-full d-flex justify-center align-content-center overflow-hidden z-20" InputStyle="opacity:0"
2222
@ondragenter="@SetDragClass" @ondragleave="@ClearDragClass" @ondragend="@ClearDragClass">
23-
<ButtonTemplate>
23+
<ActivatorContent>
2424
<MudPaper Outlined="true" Class="@("d-flex flex-column justify-center align-content-center mud-background-gray p-2 " + DragClass)">
2525
<MudPaper Elevation="0" class="mud-transparent d-flex justify-center align-content-center">
2626
<svg class="mud-icon-root" viewBox="0 0 24 24" height="75" width="75" style=" height:75px; width:175px;" aria-hidden="true">
@@ -43,7 +43,7 @@
4343
}
4444
</MudPaper>
4545
</MudPaper>
46-
</ButtonTemplate>
46+
</ActivatorContent>
4747
</MudFileUpload>
4848
</MudStack>
4949

@@ -155,4 +155,4 @@
155155
{
156156
<MudButton Class="my-2" Color="Color.Secondary" StartIcon="@Icons.Material.Filled.RestartAlt" Variant="Variant.Filled" OnClick="@ReloadPage" Disabled="!_valid">Reset</MudButton>
157157
}
158-
</div>
158+
</div>

0 commit comments

Comments
 (0)