bitovi / react-to-web-component

Convert react components to native Web Components. Works with Preact too!
https://www.bitovi.com/open-source/react-to-web-component
MIT License
679 stars 41 forks source link

boolean prop does not show in props #175

Open jieliu218 opened 6 months ago

jieliu218 commented 6 months ago

customElements.define( "weather-widget", r2wc(WeatherWidgetWapper, { props: { latitude: "number", longitude: "number", showHourly: "boolean", theme: "json", test: "string", a: "boolean", }, }), );

showHourly and a are not in props.

manudesir commented 1 week ago

only lowcase props work