mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Removed prop-types.
This commit is contained in:
parent
c815e7cd51
commit
d4437427c4
9 changed files with 11 additions and 41 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import PropTypes from 'prop-types';
|
||||
import classNames from 'classnames';
|
||||
import styles from './Tag.module.css';
|
||||
|
||||
|
|
@ -6,9 +5,4 @@ function Tag({ className, children }) {
|
|||
return <span className={classNames(styles.tag, className)}>{children}</span>;
|
||||
}
|
||||
|
||||
Tag.propTypes = {
|
||||
className: PropTypes.string,
|
||||
children: PropTypes.node,
|
||||
};
|
||||
|
||||
export default Tag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue