Public typealias

Signature
type TLUiMenuSchemaProviderProps = {
  overrides?: (
    editor: Editor,
    schema: TLUiMenuSchemaContextType,
    helpers: {
      actions: ReturnType<typeof useActions>
      noneSelected: boolean
      oneSelected: boolean
      twoSelected: boolean
      threeSelected: boolean
    }
  ) => TLUiMenuSchemaContextType
  children: any
}
References

Editor, TLUiMenuSchemaContextType

Source

packages/tldraw/src/lib/ui/hooks/useMenuSchema.tsx

TLUiMenuSchemaContextTypeTLUiOverrides