Allows for additional properties
This commit is contained in:
parent
2f4a1f97a2
commit
22fbca58d3
7 changed files with 25 additions and 17 deletions
|
@ -14,7 +14,7 @@ import { Inputs } from '../../inputs'
|
|||
import { useTLTheme, TLContext, TLContextType } from '../../hooks'
|
||||
import type { TLShapeUtil } from '+index'
|
||||
|
||||
export interface RendererProps<T extends TLShape, E extends Element, M = any>
|
||||
export interface RendererProps<T extends TLShape, E extends Element = any, M = any>
|
||||
extends Partial<TLCallbacks<T>> {
|
||||
/**
|
||||
* An object containing instances of your shape classes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue