Skip to content

Commit

Permalink
feat: add empty settings component - waiting on design
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvArora-03 authored and doprz committed Mar 6, 2024
1 parent 387b508 commit 9d0f210
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/stories/components/Settings.stories.tsx
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions src/views/components/Settings.tsx
Original file line number Diff line number Diff line change
@@ -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>;
}

0 comments on commit 9d0f210

Please sign in to comment.