Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Sep 14, 2023
1 parent 9e13a26 commit 96b772e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions taxonium_component/src/components/SnapshotButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,19 @@ const SnapshotButton = ({ svgFunction, pixelFunction, deckSize }) => {
</Dialog.Title>

<div className="mt-4">
<button
onClick={() => snapshot("pixels")}
<button
onClick={() => snapshot("SVG")}
className="text-blue-600 hover:text-blue-800"
>
Pixels
SVG (vector)
</button>
<button
onClick={() => snapshot("SVG")}
onClick={() => snapshot("pixels")}
className="ml-4 text-blue-600 hover:text-blue-800"
>
SVG
PNG
</button>

</div>
</div>
</div>
Expand Down

0 comments on commit 96b772e

Please sign in to comment.