Skip to content

Commit

Permalink
feat: add new ui component
Browse files Browse the repository at this point in the history
  • Loading branch information
moonbamijam committed May 5, 2024
1 parent 61b2091 commit 82419de
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions components/ui/Description.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
type DescriptionProps = {
paragraph: string;
customStyles?: string;
};

export default function Description({
paragraph,
customStyles,
}: DescriptionProps) {
return (
<p className={`whitespace-pre-line tracking-wide ${customStyles}`}>
{paragraph}
</p>
);
}

0 comments on commit 82419de

Please sign in to comment.