Skip to content

🎥 Make videos programmatically with React

document `document`

Jonny Burger6af8a4c0dc0e
diff --git a/packages/docs/docs/google-fonts/load-font.md b/packages/docs/docs/google-fonts/load-font.md
index 069882073b..a46d665201 100644
--- a/packages/docs/docs/google-fonts/load-font.md
+++ b/packages/docs/docs/google-fonts/load-font.md
@@ -74,12 +74,22 @@ The font style we want to load. While each font has a different set of styles, c
#### weights
+_optional_
+
Array of weights that should be loaded. By default, all.
#### subsets
+_optional_
+
Array of font subsets that should be loaded. By default, all.
+### document
+
+_optional_
+
+Allows you to specify a [`Document`](https://developer.mozilla.org/en-US/docs/Web/API/Document?retiredLocale=de). If you want to inject the fonts into an iframe, you want to give it a ref and pass `iframeRef.contentDocument` to this parameter. By default, the global `window.document` is used.
+
## Return value
An object with the following properties: