Skip to content

Commit

Permalink
Pass file extension to components
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaziul authored Dec 2, 2024
1 parent 5f9543f commit 08821bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/views/components/forms/edit-preview.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class="overflow-hidden h-full w-auto border border-gray-300 rounded dark:border-
icon-size="xl"
class="p-4 rounded"
:type="$file['type']"
:extension="$file['ext']"
/>
@endif

Expand All @@ -35,4 +36,4 @@ class="p-4 rounded"
</div>
</div>
</x-dynamic-component>
@endif
@endif

0 comments on commit 08821bb

Please sign in to comment.