define(["require", "exports", "tslib", "react", "../../../Utilities", "../BasePicker", "../BasePicker.styles", "./TagItem", "./TagItemSuggestion"], function (require, exports, tslib_1, React, Utilities_1, BasePicker_1, BasePicker_styles_1, TagItem_1, TagItemSuggestion_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    /**
     * {@docCategory TagPicker}
     */
    var TagPickerBase = /** @class */ (function (_super) {
        tslib_1.__extends(TagPickerBase, _super);
        function TagPickerBase() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        TagPickerBase.defaultProps = {
            onRenderItem: function (props) { return React.createElement(TagItem_1.TagItem, tslib_1.__assign({}, props), props.item.name); },
            onRenderSuggestionsItem: function (props) { return React.createElement(TagItemSuggestion_1.TagItemSuggestion, null, props.name); }
        };
        return TagPickerBase;
    }(BasePicker_1.BasePicker));
    exports.TagPickerBase = TagPickerBase;
    exports.TagPicker = Utilities_1.styled(TagPickerBase, BasePicker_styles_1.getStyles, undefined, {
        scope: 'TagPicker'
    });
});
//# sourceMappingURL=TagPicker.js.map