chore: cleanup
This commit is contained in:
14
components/Header/TopMenu/TopMenuButton/index.tsx
Normal file
14
components/Header/TopMenu/TopMenuButton/index.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import styles from "./topMenuButton.module.css"
|
||||
|
||||
import { TopMenuButtonProps } from "@/types/components/header/topMenuButton"
|
||||
|
||||
export default function TopMenuButton({
|
||||
children,
|
||||
...props
|
||||
}: TopMenuButtonProps) {
|
||||
return (
|
||||
<button type="button" className={styles.button} {...props}>
|
||||
{children}
|
||||
</button>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
.button {
|
||||
background-color: transparent;
|
||||
color: var(--Base-Text-High-contrast);
|
||||
border-width: 0;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
gap: var(--Spacing-x1);
|
||||
align-items: center;
|
||||
}
|
||||
Reference in New Issue
Block a user