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

View File

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