preactjs / preact-custom-element

Wrap your component up as a custom element
MIT License
360 stars 52 forks source link

Document behavior for multi-word attributes/props? #59

Open matthias-ccri opened 3 years ago

matthias-ccri commented 3 years ago

Hi there! Love the library.

Currently the readme only has examples with single-word props like name. It would be nice to see documented how to use multi-word attrs / props like myName or my-name. Otherwise people would have to guess or read source code.

Thanks