Web: Campaigns: added NewYear stories

This commit is contained in:
Dmitry Sychugov 2022-05-25 14:41:24 +05:00
parent 3a74878277
commit 1f18ae7194

View File

@ -0,0 +1,35 @@
import React from 'react';
import { Layout } from '../Layout';
export default {
title: 'Example/NewYear',
component: Layout,
parameters: {
layout: 'fullscreen',
},
argTypes: {
theme: {
control: {
type: "select",
options: ["light", "dark"]
}
},
language: {
control: {
type: "select",
options: ["en", "ru"]
}
}
}
};
const Template = (args) => <Layout {...args} />;
export const Default = Template.bind({});
Default.args = {
origin: "http://localhost:8001", // use your source
name: "NewYear",
language: "en",
theme: "light"
}