refactor: align inputs with group, refs #1857

This commit is contained in:
Carlos Valente
2026-01-26 10:28:18 +01:00
committed by Carlos Valente
parent da02ecd113
commit 773229ce4c
3 changed files with 43 additions and 21 deletions
@@ -1,7 +1,11 @@
import { ReactNode } from 'react';
import { PropsWithChildren } from 'react';
import style from './Tag.module.scss';
export default function Tag({ children }: { children: ReactNode }) {
return <span className={style.tag}>{children}</span>;
interface TagProps {
className?: string;
}
export default function Tag({ className, children }: PropsWithChildren<TagProps>) {
return <span className={`${style.tag} ${className || ''}`}>{children}</span>;
}