import { Link, Head } from '@inertiajs/react' import <%= inertia_component_name %> from './<%= inertia_component_name %>' export default function Show({ <%= singular_table_name %>, flash }) { const onDestroy = (e) => { if (!confirm('Are you sure you want to delete this <%= human_name.downcase %>?')) { e.preventDefault() } } return ( <>
#${<%= singular_table_name %>.id}`} />{flash.notice}
)}