117 |
118 |
frame: {frame}. state: {asyncState.current}, mousePos: {mousePos ? mousePos.join(", ") : "none"}, mouseButtonState: {mouseButtonState}
119 |
120 | }
121 |
122 | export default Svg
123 |
--------------------------------------------------------------------------------
/widget/src/makeEditLink.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react'
2 | import { EditorContext } from '@leanprover/infoview'
3 | import { Range, TextDocumentEdit } from 'vscode-languageserver-protocol'
4 |
5 | interface MakeEditLinkProps {
6 | edit : TextDocumentEdit
7 | newSelection? : Range
8 | title? : string
9 | }
10 |
11 | export default function(props: React.PropsWithChildren