DocMosaicdocs
Primitives

Editor.PageBackground

Color + image picker for Page.background.

Color + image picker for Page.background.

Usage

import { Editor } from '@docmosaic/react';

<Editor.Root>
    <Editor.PageBackground />
</Editor.Root>;

API Reference

PropTypeDefaultDescription
pageIndexnumber | undefined-

Page to target. Defaults to the document's current page (1-based index, converted to 0-based internally to match the reducer action).

classNamestring | undefined--
  • Root - the orchestrator