How can I set the id of an element from the kotlin...
# javascript
r
How can I set the id of an element from the kotlin React DSL?
b
try to write
attrs.id
inside element
like:
Copy code
div {
            attrs.id = ""
// or
            attrs {
                id = ""
            }
        }