placeholder-notice.tsx 372 B

1234567891011121314151617181920
  1. import { cn } from "@/lib/utils";
  2. export function PlaceholderNotice({
  3. children,
  4. className,
  5. }: {
  6. children: React.ReactNode;
  7. className?: string;
  8. }) {
  9. return (
  10. <p
  11. className={cn(
  12. "rounded-lg border border-dashed border-border bg-muted/50 px-4 py-3 text-sm text-muted-foreground",
  13. className,
  14. )}
  15. >
  16. {children}
  17. </p>
  18. );
  19. }