Skip to main content
100%

Fork of Smiley Face Part V

✓ Published0🌍 Public
MManuel Kessel
Last edited Apr 29, 2021
Created on Apr 29, 2021
Forked from Smiley Face Part V

A smiling face is drawn in SVG, assembled from modular React components for the yellow circular background, two eyes, and a mouth. The shape is centered within a fixed 960 by 500 viewport and uses reusable components with configurable props for positioning and sizing. The mouth is generated with the D3 `arc` generator, while other elements are plain SVG circles within a transformed group. The project demonstrates splitting React components across files with ES6 modules and uses React Fragments to group the eyes without extra DOM nodes.

AI-generated description

Splitting React components into multiple files using ES6 modules. Bonus: React Fragments!

MIT Licensed

Similar vizzes