Skip to content

Commit

Permalink
Add className prop to Appbar component
Browse files Browse the repository at this point in the history
  • Loading branch information
2-NOW committed Feb 6, 2024
1 parent 318efc9 commit f2dc70c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/common/appbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ export const Appbar = ({
left,
right,
content,
className,
}: {
right?: ReactNode;
className?: string;
} & LeftAndContent) => {
// if left is not defined, render logo
const _left = left ? left : <LogoSVG />;
Expand All @@ -28,6 +30,7 @@ export const Appbar = ({
<div
className={clsx(
"flex h-64px w-full items-center justify-between px-20px py-10px",
className,
)}
>
<div className="flex-1">
Expand Down

0 comments on commit f2dc70c

Please sign in to comment.