mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
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>
18 lines
436 B
TypeScript
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>
|
|
)
|
|
}
|