ContextMenuSchemaProviderProps

Public TypeAlias

Signature
type ContextMenuSchemaProviderProps = {
  overrides?: (
    app: App,
    schema: ContextMenuSchemaContextType,
    helpers: {
      actions: ReturnType<typeof useActions>
      oneSelected: boolean
      twoSelected: boolean
      threeSelected: boolean
      showAutoSizeToggle: boolean
      showUngroup: boolean
      onlyFlippableShapeSelected: boolean
    }
  ) => ContextMenuSchemaContextType
  children: any
}
References

App, ContextMenuSchemaContextType, ReturnType, useActions

Edit this page
Last edited on 11 May 2023
ContextMenuSchemaProviderCustomMenuItem