Sha256: d8145f39adc7a46c8f0c89ad7c3f39f98d5320a2a0af43065f3bc770b598cf04

Contents?: true

Size: 1.35 KB

Versions: 6

Compression:

Stored size: 1.35 KB

Contents

import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout'
import DeleteUserForm from './Partials/DeleteUserForm'
import UpdatePasswordForm from './Partials/UpdatePasswordForm'
import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm'
import { Head } from '@inertiajs/react'
import { PageProps } from '@/types'

export default function Edit({
  auth,
  mustVerifyEmail,
  status,
}: PageProps<{ mustVerifyEmail: boolean; status?: string }>) {
  return (
    <AuthenticatedLayout
      user={auth.user}
      header={<h2 className="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">Profile</h2>}
    >
      <Head title="Profile" />

      <div className="py-12">
        <div className="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6">
          <div className="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
            <UpdateProfileInformationForm mustVerifyEmail={mustVerifyEmail} status={status} className="max-w-xl" />
          </div>

          <div className="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
            <UpdatePasswordForm className="max-w-xl" />
          </div>

          <div className="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
            <DeleteUserForm className="max-w-xl" />
          </div>
        </div>
      </div>
    </AuthenticatedLayout>
  )
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kaze-0.15.0 stubs/inertia-react-ts/app/javascript/Pages/Profile/Edit.tsx
kaze-0.14.0 stubs/inertia-react-ts/app/javascript/Pages/Profile/Edit.tsx
kaze-0.13.0 stubs/inertia-react-ts/app/javascript/Pages/Profile/Edit.tsx
kaze-0.12.0 stubs/inertia-react-ts/app/javascript/Pages/Profile/Edit.tsx
kaze-0.11.0 stubs/inertia-react-ts/app/javascript/Pages/Profile/Edit.tsx
kaze-0.10.0 stubs/inertia-react-ts/app/javascript/Pages/Profile/Edit.tsx