import classNames from 'classnames'; import {observer} from 'mobx-react'; import * as React from 'react'; import {Icon, IconName} from '../Icon'; import styles from './Tag.scss'; interface TagProps { text: string; onClick: (e: React.MouseEvent) => void; className?: string; } @observer export class Tag extends React.Component { public render() { const {text, onClick, className} = this.props; return (
{text}
); } }