text: import React from "react";
  import _ from "lodash";
  import { Link } from "gatsby";
  import styles from "./PostTags.module.scss";
  
  const PostTags = ({ tags }) => {
    return (
      <div className={styles.tagContainer}>
        {tags &&
          tags.map((tag) => (
            <Link key={tag} to={`/tags/${_.kebabCase(tag)}`}>
              <span>{tag.toUpperCase()}</span>
            </Link>
          ))}
      </div>
    );
  };
  
  export default PostTags;
  