Hiyve Components - v1.0.0
    Preparing search index...

    Function createDefaultCreateDialogLabels

    • Creates default create dialog labels based on entity terminology.

      Parameters

      Returns CreateRoomDialogLabels

      Complete CreateRoomDialogLabels

      const labels = createDefaultCreateDialogLabels({
      ...DEFAULT_ENTITY_LABELS,
      entity: 'Workspace',
      createEntity: 'Create Workspace',
      });
      // labels.title === 'Create Workspace'
      // labels.roomNameLabel === 'Workspace name'