Small fixes, Fix lint, Expand dropdown to have correct style and add icon
This commit is contained in:
parent
b9d8dfe7b7
commit
c1d8ff9049
8 changed files with 70 additions and 27 deletions
|
|
@ -8,7 +8,14 @@ import RoundedContainer from "@/components/ui/RoundedContainer";
|
|||
|
||||
export default function Components() {
|
||||
return (
|
||||
<div className="flex flex-col items-center gap-4 w-full h-full">
|
||||
<div className="flex flex-col items-center gap-4 w-full h-full px-10">
|
||||
<h1>Dropdown</h1>
|
||||
<Dropdown title="Dropdown" mode="DARK">
|
||||
<NavLink name="Home" link="/" />
|
||||
<NavLink name="Admin" link="/Admin" />
|
||||
<NavLink name="Hannah" link="/Hannah" />
|
||||
</Dropdown>
|
||||
|
||||
<h1>Button</h1>
|
||||
<Button
|
||||
title={"Button"}
|
||||
|
|
@ -49,11 +56,6 @@ export default function Components() {
|
|||
<p>More Contents</p>
|
||||
</div>
|
||||
</RoundedContainer>
|
||||
|
||||
<h1>Dropdown</h1>
|
||||
<Dropdown>
|
||||
<p>Hello!</p>
|
||||
</Dropdown>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue