'use client';
import { forwardRef, HTMLAttributes } from 'react';
import styles from '../corner-nav.module.css';
export interface CornerNavProps extends HTMLAttributes {
/** Corner position */
corner?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
/** Navigation items */
items: Array<{
id: string;
label: string;
href?: string;
onClick?: () => void;
icon?: string;
active?: boolean;
}>;
/** Nav style */
style?: 'ornate' | 'minimal' | 'brutal' | 'neon';
/** Orientation of items */
orientation?: 'horizontal' | 'vertical' | 'diagonal';
/** Show corner decorations */
decorations?: boolean;
}
export const CornerNav = forwardRef(
(
{
corner = 'top-left',
items,
style: navStyle = 'ornate',
orientation = 'horizontal',
decorations = true,
className,
...props
},
ref
) => {
return (
);
}
);
CornerNav.displayName = 'CornerNav';
export default CornerNav;