Skip to content

Commit

Permalink
fix : remove whitespace and update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
keemsebin committed Nov 5, 2024
1 parent 2b3e802 commit 92cfeb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/components/common/Header/Header.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Basic: Story = {
render: () => {
return (
<div className="space-y-4">
<div className=" shadow-md">
<div className="shadow-md">
<Header left={<Icon name="home" size={20} />} />
</div>
</div>
Expand All @@ -28,10 +28,10 @@ export const Basic: Story = {
export const WithMiddle: Story = {
render: () => {
return (
<div className=" shadow-md">
<div className="shadow-md">
<Header
left={<Icon name="home" size={20} />}
middle={<Icon name="findyLogo1" size={100} />}
middle={<Icon name="findyLogo1" size={60} />}
/>
</div>
);
Expand All @@ -41,7 +41,7 @@ export const WithMiddle: Story = {
export const WithMiddleAndRight: Story = {
render: () => {
return (
<div className=" shadow-md">
<div className="shadow-md">
<Header
left={<Icon name="home" size={20} />}
middle={<Icon name="findyLogo1" size={100} />}
Expand Down
6 changes: 3 additions & 3 deletions src/components/common/Header/Header.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { ReactNode } from 'react';

export type Props = {
/*
* The content to be displayed on the left side, required.
* The content to be displayed on the left side.
*/
left: ReactNode;
/*
* The content to be displayed on the middle side, required.
* The content to be displayed on the middle side.
*/
middle?: ReactNode;
/*
* The content to be displayed on the right side, required.
* The content to be displayed on the right side.
*/
right?: ReactNode;
};

0 comments on commit 92cfeb2

Please sign in to comment.