import { Head, Link } from '@inertiajs/react' import <%= inertia_component_name %> from './<%= inertia_component_name %>' import { <%= inertia_model_type %> } from './types' interface ShowProps { <%= singular_table_name %>: <%= inertia_model_type %> flash: { notice?: string } } export default function Show({ <%= singular_table_name %>, flash }: ShowProps) { return ( <>
#${<%= singular_table_name %>.id}`} /> {flash.notice &&{flash.notice}
}