<commit_before><commit_msg>feat: add MuteButton stories<commit_after>import { withKnobs } from '@storybook/addon-knobs'
import MuteButton from './MuteButton.vue'
import { getFixtures } from '~/fixtures'
import { User } from '~/models/user'

export default { title: 'MuteButton', decorators: [withKnobs] }

const base = {
  components: { MuteButton },
}

const profile: User = getFixtures('user')

export const normal = () => ({
  ...base,
  data() {
    return {
      profile,
    }
  },
  template: '<mute-button :profile="profile" />',
})

const mutedUser: User = {
  ...profile,
  you_muted: true,
}

export const enabled = () => ({
  ...base,
  data() {
    return {
      profile: mutedUser,
    }
  },
  template: '<mute-button :profile="profile" />',
})
{'fraction_non_alphanumeric': 0.1721419185282523, 'fraction_numerical': 0.0, 'mean_word_length': 3.3793103448275863, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7546950', 'n_tokens_mistral': 264, 'n_tokens_neox': 259, 'n_words': 60}