mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
16 lines
364 B
JavaScript
16 lines
364 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import classNames from 'classnames';
|
|
import styles from './Tag.module.css';
|
|
|
|
function Tag({ className, children }) {
|
|
return <span className={classNames(styles.tag, className)}>{children}</span>;
|
|
}
|
|
|
|
Tag.propTypes = {
|
|
className: PropTypes.string,
|
|
children: PropTypes.node,
|
|
};
|
|
|
|
export default Tag;
|