Skip to content

Commit

Permalink
Create index.html [q]
Browse files Browse the repository at this point in the history
  • Loading branch information
stopsopa authored Jan 22, 2025
1 parent adf89b9 commit 3bdf12e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pages/js/popper/floating-ui-react/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>stopsopa.github.io</title>
</head>
<body class="layout bg" toc>
<div class="body">
<div class="inside">
<h2>React examples</h2>
<script type="editor" data-lang="sh">

onHover:
https://github.com/stopsopa/sr-code-challenge2/blob/main/src/components/PreviousNamesTooltip.tsx

FloatingTree with useHover() and safePolygon()
https://codesandbox.io/p/sandbox/focused-brahmagupta-yzzg6j?workspaceId=ws_Js9ezjjznTLRYvEevNfseb
more on: safePolygon: https://floating-ui.com/docs/useHover#safepolygon

</script>
</div>
</div>
<script src="/js/github.js"></script>
</body>
</html>

0 comments on commit 3bdf12e

Please sign in to comment.