<script>
import ButtonModal from '@molecules/ButtonModal/ButtonModal.vue'

export default {
  name: 'TaskHistory',
  components: {
    ButtonModal,
  },
  props: {
    taskId: {
      default: "",
      type: String
    }
  },
  data() {
    return {
      task: "",
      task_description: "",
      task_name: ""
    }
  },
  computed: {
  },
  methods: {
    onToggle: ({isOpen}) => {
      console.log(isOpen)
    }
  }
}

</script>

<template>
  <ButtonModal
    forcedBtnClass="  "
    containerClass="pt-10 px-4 w-[80vw] 2xl:w-[70vw]"
    :onToggle="onToggle"
  >
    <template #button>
      <span>
        <slot name="button" />
      </span>
    </template>
    1234
  </ButtonModal>
</template>
