import React from "react";
import Tag from "../../../../shared/Tag";
export default class TagsList extends React.Component {
    constructor(props) {
        super(props);
    }
    renderTagsList() {
        if (!this.props.tags)
            return null;
        return this.props.tags.map((tag, index) => React.createElement(Tag, { key: index, name: tag, removeTag: this.props.deleteTag }));
    }
    render() {
        return React.createElement("div", { className: "tags-list" }, this.renderTagsList());
    }
}
//# sourceMappingURL=TagsList.js.map