MCPcopy Create free account
hub / github.com/anus-dev/ANUS / capitalize

Function capitalize

packages/cli/src/ui/components/ThemeDialog.tsx:59–59  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

57 .filter((theme) => theme.type !== 'custom');
58 const customThemeNames = Object.keys(customThemes);
59 const capitalize = (s: string) => s.charAt(0).toUpperCase() + s.slice(1);
60 // Generate theme items
61 const themeItems = [
62 ...builtInThemes.map((theme) => ({

Callers 1

ThemeDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected