Extract app and keys (#276)

* Extract app component from entrypoint (index)

- Use refs to refer to canvas and rough context
- Remove ReactDOM double rendering

* Extract keys and key related utils into their own module

* Move everything back to entrypoint
This commit is contained in:
Gasim Gasimzada 2020-01-09 02:00:59 +04:00 committed by GitHub
parent 36ce6a26e6
commit 299e7e9099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 32 deletions

View file

@ -1,4 +1,4 @@
import { KEYS } from "../index";
import { KEYS } from "../keys";
type TextWysiwygParams = {
initText: string;