admin/components/feedback/InlineNotice.tsx
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

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