DocumentsCard
Workspace card for uploading documents and tracking their processing state.
Import
import { DocumentsCard } from "@xylex-group/athena-auth-ui"Also exported from: @xylex-group/athena-auth-ui/plugins
Details
- Category:
component - Primary entrypoint:
@xylex-group/athena-auth-ui - Public entrypoints:
@xylex-group/athena-auth-ui,@xylex-group/athena-auth-ui/plugins - Source:
packages/heroui/src/components/auth/workspace/documents-card.tsx
Props
| Prop | Type | Required | Notes |
|---|---|---|---|
documents | UserDocumentRecord[] | Yes | |
onUpload | (files: FileList) => void | Yes |
Notes
- Workspace cards are the focused admin surfaces that power the optional workspace settings experience.
- Most of them either consume
WorkspaceRuntimestate directly or call the exported workspace hooks against an Athena auth client.