feat: use new button component everyhwerre

This commit is contained in:
2026-05-07 17:02:17 +02:00
parent a4f51efead
commit ebf13967a4
6 changed files with 74 additions and 45 deletions
@@ -1,4 +1,5 @@
<script lang="ts">
import { Button } from '@nodarium/ui';
import FileSaver from 'file-saver';
import type { Group } from 'three';
import type { GLTFExporter } from 'three/addons/exporters/GLTFExporter.js';
@@ -51,7 +52,7 @@
}
</script>
<div class="p-4">
<button onclick={exportObj}>export obj</button>
<button onclick={exportGltf}>export gltf</button>
<div class="p-4 flex gap-2">
<Button onclick={exportObj}>export obj</Button>
<Button onclick={exportGltf}>export gltf</Button>
</div>