Sha256: 40fb73ad45d7f1fa156365475b113179e78761486cd09527e0c5e13fae8a4674

Contents?: true

Size: 681 Bytes

Versions: 5

Compression:

Stored size: 681 Bytes

Contents

<script setup lang="ts">
withDefaults(
    defineProps<{
        type?: 'button' | 'submit' | 'reset';
    }>(),
    {
        type: 'button',
    }
);
</script>

<template>
    <button
        :type="type"
        class="inline-flex items-center px-4 py-2 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-500 rounded-md font-semibold text-xs text-gray-700 dark:text-gray-300 uppercase tracking-widest shadow-sm hover:bg-gray-50 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:focus:ring-offset-gray-800 disabled:opacity-25 transition ease-in-out duration-150"
    >
        <slot />
    </button>
</template>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kaze-0.5.0 stubs/inertia-vue-ts/app/javascript/Components/SecondaryButton.vue
kaze-0.4.0 stubs/inertia-vue-ts/app/javascript/Components/SecondaryButton.vue
kaze-0.3.0 stubs/inertia-vue-ts/app/javascript/Components/SecondaryButton.vue
kaze-0.2.0 stubs/inertia-vue-ts/app/javascript/Components/SecondaryButton.vue
kaze-0.1.0 stubs/inertia-vue-ts/app/javascript/Components/SecondaryButton.vue