Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
23 lines
481 B
TypeScript
23 lines
481 B
TypeScript
import type { ReactNode } from 'react'
|
|
|
|
import { cn } from '@/lib/cn'
|
|
|
|
interface InlineNoticeProps {
|
|
children: ReactNode
|
|
className?: string
|
|
}
|
|
|
|
/**
|
|
* Compact form/page notice for lock banners, pending-revision hints, etc.
|
|
*/
|
|
const InlineNotice = ({ children, className }: InlineNoticeProps) => (
|
|
<p
|
|
className={cn('rounded-xl border p-2 text-sm border border-fourth text-fourth-900', className)}
|
|
role="status"
|
|
>
|
|
{children}
|
|
</p>
|
|
)
|
|
|
|
export default InlineNotice
|