Skip to content

Commit

Permalink
feat: Implemented Test Component
Browse files Browse the repository at this point in the history
  • Loading branch information
itSubeDibesh committed Sep 2, 2023
1 parent 93ba3f6 commit 20fc66b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/ui/Pages/web/Landing/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Button } from '../../../components/Atoms';

interface ILanding {
title?: string;
}

export const Landing = ({ title }: ILanding) => {
return (
<>
<div className="flex font-bold text-purple-600 leading-7 justify-center items-center h-11">
{title}
</div>
<Button label="Hi There" />
</>
);
};
11 changes: 11 additions & 0 deletions packages/ui/components/Atoms/Button/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
interface IButton {
label?: string;
}

export const Button = ({ label }: IButton) => {
return (
<>
<button className="bg-purple-300 p-2 m-2 border-2 rounded-lg">{label}</button>
</>
);
};

0 comments on commit 20fc66b

Please sign in to comment.