mirror of https://github.com/Budibase/budibase.git
5 changed files with 56 additions and 2 deletions
@ -0,0 +1,22 @@ |
|||
<script> |
|||
import { ActionGroup, ActionButton } from "@budibase/bbui" |
|||
import { store } from "builderStore" |
|||
</script> |
|||
|
|||
<ActionGroup compact> |
|||
<ActionButton |
|||
icon="DeviceDesktop" |
|||
selected={$store.previewDevice === "desktop"} |
|||
on:click={() => store.actions.preview.setDevice("desktop")} |
|||
/> |
|||
<ActionButton |
|||
icon="DeviceTablet" |
|||
selected={$store.previewDevice === "tablet"} |
|||
on:click={() => store.actions.preview.setDevice("tablet")} |
|||
/> |
|||
<ActionButton |
|||
icon="DevicePhone" |
|||
selected={$store.previewDevice === "mobile"} |
|||
on:click={() => store.actions.preview.setDevice("mobile")} |
|||
/> |
|||
</ActionGroup> |
|||
Loading…
Reference in new issue