SupabaseShowGuesser

Schema-aware drop-in <Show>. Renders fields based on the Supabase OpenAPI schema definition for the current resource.

Installation

pnpm dlx shadcn@latest add @shadmin/show-guesser

Usage

import { Resource } from "ra-core";
import { SupabaseShowGuesser } from "@/components/supabase";
 
<Resource name="companies" show={SupabaseShowGuesser} />;

Props

PropTypeDescription
enableLogbooleanDefault: process.env.NODE_ENV === "development"

All <Show> props are also accepted.