Update existing pages to use Page layout component

This commit is contained in:
Andrew Kingston 2021-05-06 10:22:17 +01:00
parent efdac8bc66
commit e576e464e2
2 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,7 @@
Layout,
Input,
Body,
Page,
} from "@budibase/bbui"
import { onMount } from "svelte"
import api from "builderStore/api"
@ -58,7 +59,7 @@
})
</script>
<section>
<Page>
<header>
<Heading size="M">OAuth</Heading>
<Body size="S">
@ -88,7 +89,7 @@
</div>
<Divider />
{/if}
</section>
</Page>
<style>
.config-form {

View File

@ -0,0 +1,7 @@
<script>
import { Page } from "@budibase/bbui"
</script>
<Page>
<slot />
</Page>