🎥 Make videos programmatically with React
absolute fill
Jonny Burgera57fed188e37
diff --git a/packages/docs/docs/absolute-fill.md b/packages/docs/docs/absolute-fill.mdindex 394537b26b..415ceaca7e 100644--- a/packages/docs/docs/absolute-fill.md+++ b/packages/docs/docs/absolute-fill.md@@ -5,17 +5,19 @@ title: <AbsoluteFill>A helper component - it is an absolutely positioned `<div>` with the following styles:-```css-.absolute-fill {- top: 0;- left: 0;- right: 0;- bottom: 0;- width: 100%;- height: 100%;- display: flex;- flex-direction: column;-}+```ts twoslash+import React from "react";+// ---cut---+const style: React.CSSProperties = {+ top: 0,+ left: 0,+ right: 0,+ bottom: 0,+ width: "100%",+ height: "100%",+ display: "flex",+ flexDirection: "column",+};```## Adding a ref