umami/components/common/Tag.js

9 lines
220 B
JavaScript
Raw Normal View History

2020-10-09 21:39:03 +02:00
import classNames from 'classnames';
import styles from './Tag.module.css';
2021-02-16 14:08:29 +01:00
function Tag({ className, children }) {
2020-10-09 21:39:03 +02:00
return <span className={classNames(styles.tag, className)}>{children}</span>;
}
2021-02-16 14:08:29 +01:00
export default Tag;