Files
dashboards/apps/super-admin/src/components/PageTitle.tsx
T
Alireza HassaniandCursor 6c52ce1247 Polish dashboard page chrome and user access UI.
Rename Customers to Users with FA/EN titles, compact headers and filter bars across apps, and refine manager role copy plus a customer-header link to the business dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 00:00:09 +03:30

18 lines
436 B
TypeScript

import type { ReactNode } from 'react'
import pageStyles from './PageContent.module.css'
interface PageTitleProps {
children: ReactNode
/** English accent shown after a bullet (e.g. USERS). */
en?: string
}
export function PageTitle({ children, en }: PageTitleProps) {
return (
<h2 className={pageStyles.pageTitle}>
{children}
{en ? <span className={pageStyles.pageTitleEn}>{en}</span> : null}
</h2>
)
}