26 lines
481 B
Svelte
26 lines
481 B
Svelte
<script lang="ts">
|
|
import Button from '$lib/components/common/button/Button.svelte'
|
|
import type { IconDefinition } from '@fortawesome/free-brands-svg-icons'
|
|
|
|
export let disabled: boolean = false
|
|
export let icon: IconDefinition
|
|
export let label: string
|
|
export let iconColor: string
|
|
</script>
|
|
|
|
<Button
|
|
{disabled}
|
|
btnClasses="truncate"
|
|
on:click
|
|
size="sm"
|
|
spacingSize="md"
|
|
variant="border"
|
|
color="light"
|
|
startIcon={{
|
|
icon,
|
|
classes: iconColor
|
|
}}
|
|
>
|
|
{label}
|
|
</Button>
|