bok-reader 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/bok.es.js +2948 -2945
- package/dist/bok.umd.js +23 -23
- package/dist/components/BokReader/BokReader.d.ts +1 -0
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,7 @@ export default MyBookViewer;
|
|
|
46
46
|
- `syncState?`: `BokReaderSyncState | null` - Host-provided remote/hydrated state for the current `bookId`.
|
|
47
47
|
- `onConflictDetected?`: `(conflict: BokReaderSyncConflict) => void` - Called when incoming `syncState` conflicts with non-empty local data and `forceApply` is not set.
|
|
48
48
|
- `supportedFonts?`: `{ displayName: string; name: string }[]` - Array of custom fonts to make available in the options menu.
|
|
49
|
+
- `defaultFontFamily?`: `string` - Default reader font family used only when `bok_global_font_family` is not already set in localStorage (falls back to `"Courier New"`).
|
|
49
50
|
- `color?`: `string` - Hexadecimal value. Color tint of the component.
|
|
50
51
|
- `style?`: `React.CSSProperties` - Optional inline styles for the main wrapper component.
|
|
51
52
|
|