React Todos » Star Component

LearnJS » CodeSandbox.io » 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:
https://codesandbox.io/s/use-svg-files-8ny9n


✅ Proposed Solution:

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


🤓 Resources:

[[ TO BE COMPLETED ]]


💬 Comments & New Ideas:

results matching ""

    No results matching ""