"use client";
import { jsx } from 'react/jsx-runtime';
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
import { forwardRef } from 'react';
import styles from './breadcrumb.module.css.js';

const breadcrumbVariants = cva(styles['breadcrumb'], {
    variants: {
        size: {
            small: styles['breadcrumb-small'],
            medium: styles['breadcrumb-medium']
        }
    },
    defaultVariants: {
        size: 'medium'
    }
});
const BreadcrumbRoot = forwardRef(({ className, children, size = 'medium', ...props }, ref) => {
    return (jsx("nav", { className: breadcrumbVariants({ size, className }), ref: ref, ...props, children: jsx("ol", { className: styles['breadcrumb-list'], children: children }) }));
});
BreadcrumbRoot.displayName = 'BreadcrumbRoot';

export { BreadcrumbRoot };
//# sourceMappingURL=breadcrumb-root.js.map
