Bir "Button" component'i geliştirip, bunu npmjs üzerinde paylaşmanız gerekiyor.

preview

Geliştirmeniz gereken component için yukarıdaki görseldeki yapıyı referans alabilirsiniz.

Ayrıca şuradan çalışan örneğe göz atabilirsiniz.

Gereksinimler

  • Button bileşenine geçilecek olan "type" prop'u ile button'un tipi değişmelidir. (primary, default, dashed, text, link)
  • Stillendirmeyi dilediğiniz gibi yapabilirsiniz.
  • İlgili component npmjs.com üzerinde paylaşılmalı ve indirilebilir olmalıdır.
  • Component'i npmjs üzerine harhangi bir isimle gönderebilirsiniz.

Ödev

Submit your work to complete this lesson.

Join the project workspace to share your solution and receive feedback.

Lesson discussion

Swap insights and ask questions about React

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.