Chore: Simplified ISheet's signature
This commit is contained in:
parent
d161703c20
commit
2a671b129d
11 changed files with 125 additions and 138 deletions
|
@ -6,12 +6,10 @@ import {types as t} from '@theatre/core'
|
|||
import type {UseDragOpts} from './useDrag'
|
||||
import useDrag from './useDrag'
|
||||
|
||||
const boxObjectConfig = {
|
||||
props: t.compound({
|
||||
x: t.number(0),
|
||||
y: t.number(0),
|
||||
}),
|
||||
}
|
||||
const boxObjectConfig = t.compound({
|
||||
x: t.number(0),
|
||||
y: t.number(0),
|
||||
})
|
||||
|
||||
const Box: React.FC<{
|
||||
id: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue