issues
search
Wildhoney
/
ReactShadow
:beginner: Utilise Shadow DOM in React with all the benefits of style encapsulation.
https://react-shadow.herokuapp.com/
MIT License
1.31k
stars
81
forks
source link
chore: improve typings
#154
Closed
layershifter
closed
1 year ago
layershifter
commented
1 year ago
This PR:
add types for
useShadowRoot
&
createProxy
(required as you can't use existing exports)
https://github.com/Wildhoney/ReactShadow/blob/a8a6ecdd4c8279eb38a07cb4805b5e5ffb41f3ba/src/index.js#L8-L12
exports
Root
type (can be optional)
Wildhoney
commented
1 year ago
Thanks!
This PR:
useShadowRoot
&createProxy
(required as you can't use existing exports) https://github.com/Wildhoney/ReactShadow/blob/a8a6ecdd4c8279eb38a07cb4805b5e5ffb41f3ba/src/index.js#L8-L12Root
type (can be optional)