sleeker dashboard items

This commit is contained in:
daniel31x13
2024-11-07 02:09:56 -05:00
parent cc45c8fc3e
commit 2993347dc7
3 changed files with 15 additions and 7 deletions
+7 -2
View File
@@ -3,10 +3,15 @@ import React from "react";
type Props = {
className?: string;
vertical?: boolean;
};
function Divider({ className }: Props) {
return <hr className={clsx("border-neutral-content border-t", className)} />;
function Divider({ className, vertical = false }: Props) {
return vertical ? (
<hr className={clsx("border-neutral-content border-l h-full", className)} />
) : (
<hr className={clsx("border-neutral-content border-t", className)} />
);
}
export default Divider;