mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
27 lines
519 B
TypeScript
27 lines
519 B
TypeScript
import clsx from 'clsx'
|
|
import Link from 'next/link'
|
|
|
|
interface SettingsMenuItemProps {
|
|
href: string
|
|
label: string
|
|
isActive: boolean
|
|
}
|
|
|
|
const SettingsMenuItem = ({ href, label, isActive }: SettingsMenuItemProps) => {
|
|
return (
|
|
<div>
|
|
<Link
|
|
href={href}
|
|
className={clsx(
|
|
'text-sm',
|
|
isActive ? 'text-foreground' : 'text-foreground-light hover:text-foreground transition'
|
|
)}
|
|
>
|
|
{label}
|
|
</Link>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SettingsMenuItem
|