forked from tsai/budibase
1 changed files with 0 additions and 15 deletions
@ -1,15 +0,0 @@ |
|||||
<script> |
|
||||
export let className = ""; |
|
||||
export let disabled = false; |
|
||||
export let contentText = ""; |
|
||||
export let contentComponent = {}; |
|
||||
</script> |
|
||||
|
|
||||
|
|
||||
<button class={className} {disabled} on:click> |
|
||||
{#if contentComponent} |
|
||||
{contentText} |
|
||||
{:else} |
|
||||
<div>Props..</div> |
|
||||
{/if} |
|
||||
</button> |
|
||||
Loading…
Reference in new issue