Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/primer/react
/ Dialog.tsx
File
Dialog.tsx
packages/react/src/Dialog/Dialog.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import React, {useCallback, useEffect, useRef, useState} from
'react'
2
import styled from
'styled-components'
3
import type {ButtonProps} from
'../Button'
4
import {Button} from
'../Button'
Callers
nothing calls this directly
Calls
6
get
Function · 0.90
useId
Function · 0.90
useRefObjectAsForwardedRef
Function · 0.90
useFocusTrap
Function · 0.90
useOnEscapePress
Function · 0.90
onClose
Function · 0.85
Tested by
no test coverage detected