<commit_before>import React from 'react';
import {storiesOf} from '@kadira/storybook';
import ChatWidget from '../src/containers/chat-widget';

storiesOf(`ChatWidget`, module)
  .add(`basic`, () =>
    <ChatWidget />
  );<commit_msg>feat(widget-chat): Activity title components added to storybook<commit_after>import React from 'react';
import {storiesOf} from '@kadira/storybook';
import ChatWidget from '../src/containers/chat-widget';
import ActivityTitle from '../src/components/activity-title';
import ActivityTitleBar from '../src/components/activity-title-bar';
import Avatar from '../src/components/avatar';

const testUser = {
  userId: `<EMAIL>`
};

storiesOf(`ChatWidget`, module)
  .add(`basic`, () =>
    <ChatWidget />
  );


storiesOf(`ActivityTitle`, module)
  .add(`Welcome Text`, () =>
    <ActivityTitle heading="This is an Activity Title" />
  );

storiesOf(`ActivityTitleBar`, module)
  .add(`Default User`, () =>
    <ActivityTitleBar user={testUser} />
  );

storiesOf(`Avatar`, module)
  .add(`letter B`, () =>
    <Avatar user={testUser} />
  )
  .add(`letter D`, () => {
    const dUser = {
      userId: `<EMAIL>`
    };
    return (
      <Avatar user={dUser} />
    );
  });
{'fraction_non_alphanumeric': 0.18121363258520365, 'fraction_numerical': 0.0, 'mean_word_length': 3.954732510288066, 'pattern_counts': {'":': 0, '<': 11, '<?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': '2633033', 'n_tokens_mistral': 388, 'n_tokens_neox': 385, 'n_words': 85}