import React from 'react'; import classNames from 'classnames'; import ExitIcon from '@moda/icons/exit-16'; import { Clickable } from '../Clickable'; import './Tag.scss'; export type TagProps = { disabled?: boolean; onRemove?: () => void; } & React.HTMLAttributes; export const Tag: React.FC = ({ className, disabled, onRemove, children, ...rest }) => (
{children}
{onRemove && ( )}
);