0
respostas

Desafio das tags com styled components

{/considerando que já tem o arquivo tags.json/}

import tags from "./tags.json";

import { styled, Styled } from "styled-components";

const Container = styled.div display: flex; gap: 2px; flew-wrap: wrap;;

const Botao = styled.divbackground: blue; margin:3px; padding:.4rem; text-align:center; border-radius:6px; color:white; font-weight; width:fit-content;;

export const Tags = () => { return ( {tags.map((tag) => ( {tag.titulo} ))} ); };