* Refactor flow UI/UX + added fork and create script from inline script * Prevent infinite loop when remove steps * Fix forking a script from the Hub * Fix viewing code of a script from the Hub * Fix PR comments * Fix code highlight * Fix path * Find next available path * Fix copy first step schema
14 lines
392 B
Svelte
14 lines
392 B
Svelte
<script lang="ts">
|
|
import type { IconDefinition } from '@fortawesome/free-brands-svg-icons'
|
|
import Icon from 'svelte-awesome'
|
|
|
|
export let icon: IconDefinition
|
|
export let label: string
|
|
export let iconColor: string
|
|
</script>
|
|
|
|
<button type="button" on:click class="default-secondary-button-v2 mb-2 w-full">
|
|
<Icon data={icon} class={`w-4 h-4 mr-2 -ml-2 ${iconColor}`} />
|
|
{label}
|
|
</button>
|