Files
windmill/frontend/src/lib/components/flows/pickers/FlowScriptPicker.svelte
Faton Ramadani 6498c84a90 Refactor flow UI/UX + added fork and create script from inline script (#175)
* 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
2022-07-13 11:29:43 +02:00

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>