Skip to main content
100%

if statement

✓ Published1🌍 Public
NNita
Last edited Mar 26, 2020
Created on Mar 26, 2020
Forked from My React Starter

Two nested circles sit at the center of an SVG canvas, both stroked in green with partial opacity. The example uses React’s `map` method to iterate over an array of radius values, conditionally rendering a circle only when its radius is less than 100 via an `if` statement inside the JSX. The rendering relies on React 16.10 and ReactDOM, producing the SVG output directly in the browser.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes