Allows for additional properties

This commit is contained in:
Steve Ruiz 2021-09-13 16:59:37 +01:00
parent 2f4a1f97a2
commit 22fbca58d3
7 changed files with 25 additions and 17 deletions

View file

@ -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.