<template>
    <button
        type="button"
        class="btn btn-primary ms-1"
        @click="$emit('click')"
        :disabled="!isEnabled"
    >
        <i class="bx bx-check"></i>
    </button>
</template>

<script>
export default {
    name: "SaveButton",
    props: {
        isEnabled: {
            type: Boolean,
            default: true, // 기본적으로 활성화
        },
    },
    emits: ["click"],
};
</script>
