Pavel Matusevich
08/26/2021, 8:54 PMstatic propTypes = {/* ... */ 'data-test': PropTypes.string, /* ... */ };
) How can I implement this prop in Kotlin/JS (I've tried @JsName("data-test")
, but it says "Name contains illegal chars that can't appear in JavaScript identifier")?andylamax
08/26/2021, 11:10 PMdata-test
a prop or an attribute? can you check? Coz if it an attribute you should be able to set it in attrs{}
turansky
08/26/2021, 11:21 PMturansky
08/26/2021, 11:23 PMturansky
08/26/2021, 11:25 PMinline var
in IR like here, but without adapterPavel Matusevich
08/27/2021, 12:07 PM