# custom-stories-component

## Description

## Installation

Simple example:
<head>
    <link rel="stylesheet" href="./src/styles/theme.css" />
    <link rel="stylesheet" href="./src/styles/zuck.css" />
</head>
<div>
    <div id="stories"></div>

    <script src="https://unpkg.com/zuck.js/dist/zuck.js"></script>
    <script type="text/javascript" src="./dist/index.js"></script>
    <script type="module">
        import data from "./data/data.json" assert {type: "json"};
        const options = {
            backNative: true,
            previousTap: true,
            skin: 'Default',
            autoFullScreen: false,
            avatars: true,
            paginationArrows: false,
            list: false,
            cubeEffect: true,
            localStorage: true,
            stories: data
        }
        new CustomStories("#stories", options);
    </script>
</div>

## Support

e.grinchuk@appricot.ru
