Why do <kotlin wrappers for mui> put an annotation...
# javascript
j
Why do kotlin wrappers for mui put an annotation
@JsName
with name "default" for all component declarations? For example there are two components from `kotlin-mui`: Tab and Button. They both have
@JsName("default")
. Why do we need to mark these declarations with the annotation and the name?
1
b
To link with js default exports
👍 2