import React from 'react'; import chroma from "chroma-js"; import styles from "../styles/exos/Tag.module.scss"; import { css, Global, keyframes } from "@emotion/react"; //import styled from "@emotion/styled"; export default function Tag({tag, onDelete}){ //console.log(ref, 'porpos') const colorChrome = chroma(tag.color); return (
{tag.name}
{onDelete &&
{ onDelete && onDelete(tag.id_code); }} >
}
); }