Example code uses depreciated code.
Valkryst opened this issue · comments
When using the following SkyLight component, React says that "Using string literals in ref attributes is depreciated. react/no-string-refs".
<SkyLight
ref="dialogWithCallBacks"
title="Hello!"
beforeOpen={beforeFirstOpen}
afterOpen={afterFirstOpen}
beforeClose={beforeFirstClose}
afterClose={afterFirstClose}>
I have callbacks!
</SkyLight>
Fixed in v0.5.0.