Extract app component from entrypoint (index)

- Use refs to refer to canvas and rough context
- Remove ReactDOM double rendering
This commit is contained in:
Gasim Gasimzada 2020-01-09 01:30:08 +04:00
parent 36ce6a26e6
commit c547453825
3 changed files with 1118 additions and 1109 deletions

1116
src/App.tsx Normal file

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff