[improvement] repo shuffle (#214)

* move folders out of packages

* Remove custom yarn stuff, remove duplicate readme

* Remove stitches config

* Add README script.

* bump deps

* Fix script

* Update package.json
This commit is contained in:
Steve Ruiz 2021-11-02 11:46:25 +00:00 committed by GitHub
parent 3ff8f25dbc
commit b68a4681e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 1033 additions and 148214 deletions

14
dev/src/changing-id.tsx Normal file
View file

@ -0,0 +1,14 @@
import * as React from 'react'
import { TLDraw } from '@tldraw/tldraw'
export default function ChangingId() {
const [id, setId] = React.useState('example')
React.useEffect(() => {
const timeout = setTimeout(() => setId('example2'), 2000)
return () => clearTimeout(timeout)
}, [])
return <TLDraw id={id} />
}