forked from tsai/budibase
12 changed files with 8131 additions and 13 deletions
@ -0,0 +1,29 @@ |
|||||
|
<script> |
||||
|
import { DropdownMenu, Button } from "@budibase/bbui" |
||||
|
import { onMount } from "svelte" |
||||
|
|
||||
|
// import options from "standard-components/IconNew/icons.js" |
||||
|
|
||||
|
let buttonAnchor, dropdown |
||||
|
|
||||
|
onMount(() => {}) |
||||
|
|
||||
|
function open() {} |
||||
|
</script> |
||||
|
|
||||
|
<div bind:this={buttonAnchor}> |
||||
|
<button on:click={() => alert`eyeooooo`}>Show</button> |
||||
|
</div> |
||||
|
<DropdownMenu bind:this={dropdown} anchor={buttonAnchor}> |
||||
|
<div class="container"> |
||||
|
<h1>Hii there</h1> |
||||
|
</div> |
||||
|
</DropdownMenu> |
||||
|
|
||||
|
<style> |
||||
|
.container { |
||||
|
width: 500px; |
||||
|
height: 350px; |
||||
|
border: 2px solid red; |
||||
|
} |
||||
|
</style> |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@ |
|||||
|
<script> |
||||
|
export let icon = "" |
||||
|
|
||||
|
$: console.log("ICON", icon) |
||||
|
</script> |
||||
|
|
||||
|
<i class={`${icon}`} /> |
||||
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,4 @@ |
|||||
|
import "@fortawesome/fontawesome-free/js/all.js" |
||||
|
|
||||
|
export { default as iconnew } from "./IconNew.svelte" |
||||
|
// export { default as icons } from "./icons.js"
|
||||
Loading…
Reference in new issue