AdminUser
Defined in: packages/react/src/components/AdminLayout.tsx:27
User data displayed in the admin shell.
Supplied by the host app’s auth layer (e.g. Better Auth’s getCurrentUser()).
All fields are optional so the admin shell degrades gracefully when no user
is provided.
Extends
Section titled “Extends”Record<string,unknown>
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”email?
Section titled “email?”
optionalemail?:string
Defined in: packages/react/src/components/AdminLayout.tsx:32
User email.
image?
Section titled “image?”
optionalimage?:string
Defined in: packages/react/src/components/AdminLayout.tsx:34
Avatar image URL.
optionalname?:string
Defined in: packages/react/src/components/AdminLayout.tsx:30
Display name.