React Todos » Star Component

LearnJS » » React Todos

👉 User Story:

Create a `Star` component that respect the following signature:

<Star />
<Star full />

The component should show an empty or full star based on the property.

You can try things out directly on this sandbox:

Here you may find a good hint how to use SVG files in React:

✅ Proposed Solution:

Don't run this unless you gave a very good effort to solve it yourself!

🤓 Resources:


💬 Comments & New Ideas:

results matching ""

    No results matching ""