Skip to main content
Hook to create a channel.

Imports

Definition

Source: useCreateChannel

Parameters

spaceId

  • Type: string

config

  • Type: ActionConfig<Space["createChannel"]>
  • Optional
Configuration options for the action.

Return Type

The createChannel action and its loading state.