<commit_before><script>
export default {
  props: {
    /**
     * Whether to disable button
     */
    disabled: {
      type: Boolean
    },
    /**
     * Button type
     */
    type: {
      type: String,
      default: 'normal'
    },
    label: {
      type: String,
      required: true
    }
  },
  methods: {
    click(ev) {
      /**
       * Passthrough click event
       * @type {Event}
       */
      this.$emit('click', ev)
    }
  }
}
</script>

<template>
  <button class="btn" :class="type" :disabled="disabled" @click="click">
    <!-- @slot Default to label prop -->
    <img width="60px" src="../../logo.png" />
    <slot><commit_msg>Vue-kitchen-sink add component docgen description<commit_after><script>
/**
 * InfoButton component description
 */
export default {
  props: {
    /**
     * Whether to disable button
     */
    disabled: {
      type: Boolean,
    },
    /**
     * Button type
     */
    type: {
      type: String,
      default: 'normal',
    },
    label: {
      type: String,
      required: true,
    },
  },
  methods: {
    click(ev) {
      /**
       * Passthrough click event
       * @type {Event}
       */
      this.$emit('click', ev);
    },
  },
};
</script>

<template>
  <button class="btn" :class="type" :disabled="disabled" @click="click">
    <!-- @slot Default to label prop -->
    <img width="60px" src="../../logo.png" />
    <slot>
{'fraction_non_alphanumeric': 0.1752136752136752, 'fraction_numerical': 0.002849002849002849, 'mean_word_length': 1.8269617706237424, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '137377', 'n_tokens_mistral': 456, 'n_tokens_neox': 453, 'n_words': 102}