Skip to content

Commit

Permalink
Use ButtonGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter York committed Oct 17, 2024
1 parent 7821dd0 commit e991aa4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/ChooseArea.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// @ts-expect-error no declarations
import { initAll } from "govuk-frontend";
import {
ButtonGroup,
DefaultButton,
ErrorMessage,
FileInput,
Expand Down Expand Up @@ -124,14 +125,14 @@

<h1>Scheme Sketcher</h1>

<div class="govuk-button-group">
<ButtonGroup>
<SecondaryButton on:click={() => (showAbout = !showAbout)}>
About
</SecondaryButton>
<SecondaryButton on:click={openBrowsePage}>
Open Scheme Browser
</SecondaryButton>
</div>
</ButtonGroup>
<ErrorMessage errorMessage={pageErrorMessage} />

{#if authoritiesGj.features.length > 0}
Expand Down

0 comments on commit e991aa4

Please sign in to comment.