const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
<StyledPolygon isClicked = {value}
stroke ="#000000"
stroke-width={1}
fill={rgb}
opacity={0.6}
points={recoordinates}
></StyledPolygon>
const StyledPolygon = styled.polygon`
color: ${({ isClicked }) => isClicked ? 'blue' : red};
&:hover {
transition: fill 0.29s;
z-index : 100;
fill: #a99fee;
}
`