+ {props.children}
+
+ );
+}
+
+export function CodeBlock({
+ ref,
+ title,
+ allowCopy = true,
+ keepBackground = false,
+ icon,
+ viewportProps = {},
+ children,
+ Actions = (props) => ,
+ ...props
+}: CodeBlockProps) {
+ const inTab = use(TabsContext) !== null;
+ const areaRef = useRef+ + {owner}/{repo} +
+