[react-rnd] Fix for default export

The class is exported as default. If you use TS without synthetic imports enabled then the import doesn't work. This little change fixes that (tested).
This commit is contained in:
Javier Gonzalez
2018-06-07 20:00:54 +02:00
committed by GitHub
parent 9fb84d20ac
commit 5e1d37e648
+1 -1
View File
@@ -117,4 +117,4 @@ declare namespace Rnd {
declare class Rnd extends React.Component<Partial<Rnd.Options>> {}
export = Rnd;
export default Rnd;