mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-07 22:15:49 +01:00
Add stories
This commit is contained in:
11
components/SearchBar/SearchBar.story.tsx
Normal file
11
components/SearchBar/SearchBar.story.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import SearchBar from "./SearchBar";
|
||||
|
||||
|
||||
export default {
|
||||
title: 'Search bar',
|
||||
config: {
|
||||
searchBar: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = (args: any) => <SearchBar {...args} />;
|
||||
10
components/Settings/SettingsMenu.story.tsx
Normal file
10
components/Settings/SettingsMenu.story.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { SettingsMenuButton } from "./SettingsMenu";
|
||||
|
||||
export default {
|
||||
title: ' menu',
|
||||
args: {
|
||||
opened: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = (args: any) => <SettingsMenuButton {...args} />;
|
||||
Reference in New Issue
Block a user