createLangfuseIcon (Settings/types.ts)

librechat · client/src/components/Nav/Settings/types.ts · typescript · MIT
voice

Defines settings tabs and sections, including a custom Langfuse icon for the settings UI.

// Source: https://github.com/danny-avila/librechat | License: MIT | Copyright 2026 LibreChat
// Provided via justclaw.it.com; keep this notice with the code.
import { createElement } from 'react';
import { MessageSquare, Info } from 'lucide-react';
import { SettingsTabValues } from 'librechat-data-provider';
import { GearIcon, DataIcon, UserIcon, SpeechIcon } from '@librechat/client';
import type { ComponentType, ReactNode } from 'react';
import type { TranslationKeys } from '~/hooks';

export type SettingsTab =
  | SettingsTabValues.GENERAL
  | SettingsTabValues.CHAT
  | SettingsTabValues.SPEECH
  | SettingsTabValues.LANGFUSE
  | SettingsTabValues.DATA
  | SettingsTabValues.ACCOUNT
  | SettingsTabValues.ABOUT;

export type SectionId =
  | 'appearance'
  | 'layout'
  | 'notifications'
  |

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key