import {
Pill as MantinePill,
PillGroupProps as MantinePillGroupProps,
PillProps as MantinePillProps,
} from '@mantine/core';
import clsx from 'clsx';
import { forwardRef } from 'react';
import { Link } from 'react-router';
import styles from './pill.module.css';
interface PillProps extends MantinePillProps {}
export const Pill = ({ children, classNames, radius = 'md', size = 'md', ...props }: PillProps) => {
return (
{children}
);
};
interface PillGroupProps extends MantinePillGroupProps {}
const PillGroup = ({ children, classNames, gap = 'sm', ...props }: PillGroupProps) => {
return (
{children}
);
};
Pill.Group = PillGroup;
interface PillLinkProps
extends Omit, keyof PillProps>,
PillProps {}
export const PillLink = forwardRef(({ children, ...props }, ref) => {
const { classNames, radius = 'md', size = 'md', ...rest } = props;
return (
{children}
);
});