Create ThemeSwitcher story
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import ThemeSwitcher from "../components/ui/themeSwitcher/ThemeSwitcher.jsx";
|
||||
import Background from "../components/background/background.jsx";
|
||||
|
||||
export default {
|
||||
title: 'UI/ThemeSwitcher',
|
||||
component: ThemeSwitcher,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
};
|
||||
|
||||
const ThemeSwitcherRender = () => {
|
||||
return <Background>
|
||||
<ThemeSwitcher />
|
||||
</Background>
|
||||
};
|
||||
|
||||
export const Default = () => <ThemeSwitcherRender />;
|
||||
|
||||
Reference in New Issue
Block a user