Files
Tom Moor bf45e97641 chore: Enforce type import consistency (#10968)
* Update types

* fix circular dep

* type imports

* lint type imports and --fix
2025-12-19 23:07:02 -05:00

18 lines
416 B
TypeScript

import * as React from "react";
import Frame from "../components/Frame";
import type { EmbedProps as Props } from ".";
function Gist(props: Props) {
return (
<Frame
src={`/embeds/github?url=${encodeURIComponent(props.attrs.href)}`}
className={props.isSelected ? "ProseMirror-selectednode" : ""}
width="100%"
height="355px"
title="GitHub Gist"
/>
);
}
export default Gist;