Hooks
Installation
pnpm dlx @kivacore/ui-cli add @kivacore/hooks-use-kiva-instant-message-composerUsage
import { useKivaInstantMessageComposer } from '@kivacore/ui/library/hooks/use-kiva-instant-message-composer';
function MyComponent() {
const result = useKivaInstantMessageComposer(...);
}API Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
options | UseKivaInstantMessageComposerOptions | — | — |
Returns: UseKivaInstantMessageComposerResult
useKivaHostTheme / useKivaHostLocale
Follow the Kiva shell's colour mode and language from inside an embedded app, so a theme or language switch in the shell reaches the app it is hosting.
useKivaInventory
Shared app-utils inventory cache for Kiva metadata (apps, data sources with fields/enums/views/forms, users, brands, preferences) plus a post-sign-in load() warm-up hook that drives an application loading dialog.