@markgrafhq/markgraf-react 0.1.2 → 0.1.3
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/dist/markgraf-react.d.ts +4 -0
- package/dist/markgraf-react.js +2788 -2781
- package/package.json +1 -1
package/dist/markgraf-react.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export interface UseMarkgrafOptions<R extends "canvas" | "svg" = "canvas"> {
|
|
|
41
41
|
renderer?: R;
|
|
42
42
|
/** Visual theme. `"light"` (default), `"dark"`, or `"blueprint"`. */
|
|
43
43
|
theme?: "light" | "dark" | "blueprint";
|
|
44
|
+
/** When `true`, skip the background fill so the page bg shows through. */
|
|
45
|
+
transparent?: boolean;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
/**
|
|
@@ -74,6 +76,8 @@ export interface MarkgrafPlayerProps {
|
|
|
74
76
|
renderer?: "canvas" | "svg";
|
|
75
77
|
/** Visual theme. `"light"` (default), `"dark"`, or `"blueprint"`. */
|
|
76
78
|
theme?: "light" | "dark" | "blueprint";
|
|
79
|
+
/** When `true`, skip the background fill so the page bg shows through. */
|
|
80
|
+
transparent?: boolean;
|
|
77
81
|
width?: number;
|
|
78
82
|
height?: number;
|
|
79
83
|
}
|