import { _ as __rest } from './tslib.es6-es.js';
import React__default from 'react';
import { I as Icon } from './Icon-es.js';
import { C as Chip, s as styles } from './Chip-es.js';

function ChipSelectable(_a) {
    var { selected } = _a, rest = __rest(_a, ["selected"]);
    return (React__default.createElement(Chip, Object.assign({}, rest),
        React__default.createElement(Chip.Suffix, { className: selected ? styles.selected : "" },
            React__default.createElement(Icon, { name: selected ? "checkmark" : "add", size: "small", color: "interactiveSubtle" }))));
}

function ChipDismissible(props) {
    return (React__default.createElement(Chip, Object.assign({}, props),
        React__default.createElement(Chip.Suffix, null,
            React__default.createElement(Icon, { name: "cross", size: "small", color: "interactiveSubtle" }))));
}

export { ChipSelectable as C, ChipDismissible as a };
