/* do not change this file, it is auto generated by storybook. */

import {
  configure,
  addDecorator,
  addParameters,
  addArgsEnhancer,
} from "@storybook/react-native";

import { decorators, parameters } from "./preview";

if (decorators) {
  decorators.forEach((decorator) => addDecorator(decorator));
}

if (parameters) {
  addParameters(parameters);
}

const getStories = () => {
  return [
    require("../app/containers/Avatar/Avatar.stories.tsx"),
    require("../app/containers/BackgroundContainer/index.stories.tsx"),
    require("../app/containers/Button/Button.stories.tsx"),
    require("../app/containers/Chip/Chip.stories.tsx"),
    require("../app/containers/CollapsibleText/CollapsibleText.stories.tsx"),
    require("../app/containers/HeaderButton/HeaderButtons.stories.tsx"),
    require("../app/containers/List/List.stories.tsx"),
    require("../app/containers/LoginServices/LoginServices.stories.tsx"),
    require("../app/containers/markdown/Markdown.stories.tsx"),
    require("../app/containers/markdown/new/NewMarkdown.stories.tsx"),
    require("../app/containers/message/Components/CollapsibleQuote/CollapsibleQuote.stories.tsx"),
    require("../app/containers/message/Message.stories.tsx"),
    require("../app/containers/ReactionsList/ReactionsList.stories.tsx"),
    require("../app/containers/RoomHeader/RoomHeader.stories.tsx"),
    require("../app/containers/RoomItem/RoomItem.stories.tsx"),
    require("../app/containers/RoomTypeIcon/RoomTypeIcon.stories.tsx"),
    require("../app/containers/SearchBox/SearchBox.stories.tsx"),
    require("../app/containers/ServerItem/ServerItem.stories.tsx"),
    require("../app/containers/Status/Status.stories.tsx"),
    require("../app/containers/TextInput/TextInput.stories.tsx"),
    require("../app/containers/UIKit/UiKitMessage.stories.tsx"),
    require("../app/containers/UIKit/UiKitModal.stories.tsx"),
    require("../app/containers/UnreadBadge/UnreadBadge.stories.tsx"),
    require("../app/views/CannedResponsesListView/CannedResponseItem.stories.tsx"),
    require("../app/views/CreateChannelView/RoomSettings/SwitchItem.stories.tsx"),
    require("../app/views/DiscussionsView/Item.stories.tsx"),
    require("../app/views/RoomView/LoadMore/LoadMore.stories.tsx"),
    require("../app/views/ThreadMessagesView/Item.stories.tsx"),
  ];
};

configure(getStories, module, false);
