* Add flow prop picker * fix unwanted copy * cleaning * Fix unset context * move button and always display input * fix unwanted proppicker display * update * update * clean all * clean all --------- Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
20 lines
495 B
Svelte
20 lines
495 B
Svelte
<script lang="ts">
|
|
import { Plug } from 'lucide-svelte'
|
|
import { Button } from './common'
|
|
import AnimatedButton from './common/button/AnimatedButton.svelte'
|
|
|
|
export let connecting: boolean
|
|
</script>
|
|
|
|
<AnimatedButton animate={connecting} baseRadius="6px" animationDuration="2s" marginWidth="2px">
|
|
<Button
|
|
variant="border"
|
|
color="light"
|
|
size="xs2"
|
|
btnClasses={connecting ? 'text-blue-500' : 'text-primary'}
|
|
on:click
|
|
>
|
|
<Plug size={16} /> →
|
|
</Button>
|
|
</AnimatedButton>
|