function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>
function PolyGonSapmle({ value }){
// state
return (
<div>
<div>{value}</div>
</div>
)
}
const VALUES = ['a', 'b', 'c']
function Parent(){
return (
<div>
{VALUES.map((value,index) => (
return(<PolyGonSapmle key={index} value={value} />);
))}
</div>
)
}
<button type="button" onClick={handleShowPolygon}>show / hide</button>