import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { Tag } from './Tag.mjs';

const TagList = ({ tags })=>{
    return /*#__PURE__*/ wn.createElement("ul", {
        style: {
            listStyle: 'none',
            padding: 0,
            margin: 0,
            display: 'flex',
            flexWrap: 'wrap',
            gap: 8
        }
    }, tags.map((tag)=>/*#__PURE__*/ wn.createElement("li", {
            key: tag
        }, /*#__PURE__*/ wn.createElement(Tag, {
            size: "small"
        }, tag))));
};

export { TagList };
//# sourceMappingURL=TagList.mjs.map
