MCPcopy Create free account
hub / github.com/adobe/react-spectrum / InfoTooltip

Function InfoTooltip

packages/react-aria-components/test/Tooltip.test.js:210–226  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

208
209 describe('portalProvider', () => {
210 function InfoTooltip(props) {
211 return (
212 <TooltipTrigger delay={0}>
213 <Button>
214 <span aria-hidden="true">✏️</span>
215 </Button>
216 <Tooltip data-test="tooltip" {...props}>
217 <OverlayArrow>
218 <svg width={8} height={8}>
219 <path d="M0 0,L4 4,L8 0" />
220 </svg>
221 </OverlayArrow>
222 Edit
223 </Tooltip>
224 </TooltipTrigger>
225 );
226 }
227 function App() {
228 let container = useRef(null);
229 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected