This commit is contained in:
Simon Knott 2024-08-19 09:01:56 +02:00
parent 48643bbb2d
commit 2784cda796
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -17,7 +17,7 @@
import { clsx } from '@web/uiUtils';
import './tag.css';
export const TagViev = ({ tag, style, onClick }: { tag: string, style?: React.CSSProperties, onClick?: (e: React.MouseEvent) => void }) => {
export const TagView = ({ tag, style, onClick }: { tag: string, style?: React.CSSProperties, onClick?: (e: React.MouseEvent) => void }) => {
return <span
className={clsx('tag', `tag-color-${tagNameToColor(tag)}`)}
onClick={onClick}