APIDemo

@alinea/dashboard

export function BrowserPreview(
props: BrowserPreviewProps
): Element
export const CurrentDraftProvider: Provider<
| undefined
| EntryDraft
>
export function Dashboard<T extends Workspaces>(
props: DashboardOptions<T>
): Element
export const DashboardProvider: Provider<
| undefined
| DashboardContext
>
export function FieldsPreview(
props: FieldsPreviewProps
): Element
export const LocaleSchema:
{
Locale: TypeConfig<
{
path: string
title: string
}
>
}
export const MediaSchema:
{
File: TypeConfig<
{
title: string
}
>
MediaLibrary: TypeConfig<
{
title: string
}
>
}
export function parseRootPath(
path: string
): [string,
| undefined
| string
]
export function ReferencePickerProvider(
props: {children: ReactNode}
): Element
export const SessionProvider: Provider<
| undefined
| Session<Workspaces>
>
export namespace Toolbar {
export const Portal: ComponentType<HTMLProps<HTMLDivElement>>
export const Provider: ComponentType<
{
children: ReactNode
}
>
export const Slot: ComponentType<
{
children: ReactNode
}
>
export function Root(): Element
}
export function useCurrentDraft(): EntryDraft
export function useDashboard(): DashboardContext
export function useReferencePicker(): ReferencePickerContext
export function useRoot(): Root
export function useSession(): Session<Workspaces>
export function useWorkspace(): Workspace