puerto 0.20.0

Puerto — Rust full-stack DDD framework CLI. Scaffolds Clean Architecture projects with auto-wired DI, SQLx support, and zero manual wiring. Formerly puerto-framework.
1
2
3
4
5
6
7
8
9
10
11
12
import type { ReactNode } from "react";

export function EmptyState({ message, children }: { message: string; children?: ReactNode }) {
  return (
    <div className="card bg-base-100">
      <div className="card-body items-center text-center">
        <p>{message}</p>
        {children}
      </div>
    </div>
  );
}