MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / Title

Function Title

docs/app/ui/title.tsx:42–51  ·  view source on GitHub ↗
({ children, as, className, ...props }: TitleProps)

Source from the content-addressed store, hash-verified

40 * @returns A JSX element with consistent project-specific title styling.
41 */
42const Title = ({ children, as, className, ...props }: TitleProps) => {
43 const Component = as
44 const titleClasses = cn(ValidTitleElements[as], "text-[var(--color-text-normal)]", className)
45
46 return (
47 <Component {...props} className={titleClasses}>
48 {children}
49 </Component>
50 )
51}
52
53export { Title }

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…