create empty settings component - waiting on design
This commit is contained in:
19
src/stories/components/Settings.stories.tsx
Normal file
19
src/stories/components/Settings.stories.tsx
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
import { Meta, StoryObj } from '@storybook/react';
|
||||||
|
import Settings from 'src/views/components/Settings';
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'Components/Common/Settings',
|
||||||
|
component: Settings,
|
||||||
|
parameters: {
|
||||||
|
layout: 'centered',
|
||||||
|
},
|
||||||
|
tags: ['autodocs'],
|
||||||
|
argTypes: {},
|
||||||
|
} satisfies Meta<typeof Settings>;
|
||||||
|
export default meta;
|
||||||
|
|
||||||
|
type Story = StoryObj<typeof meta>;
|
||||||
|
|
||||||
|
export const Default: Story = {
|
||||||
|
args: {},
|
||||||
|
};
|
||||||
14
src/views/components/Settings.tsx
Normal file
14
src/views/components/Settings.tsx
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
className?: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Component to hold everything for the settings page
|
||||||
|
* @param props className
|
||||||
|
* @returns The content for the settings page
|
||||||
|
*/
|
||||||
|
export default function Settings({ className }: Props) {
|
||||||
|
return <div className={className}>this will be finished laterrrrrrr</div>;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user