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

Function ClassAPI

packages/dev/docs/src/ClassAPI.js:16–22  ·  view source on GitHub ↗
({class: c, links})

Source from the content-addressed store, hash-verified

14import React from 'react';
15
16export function ClassAPI({class: c, links}) {
17 return (
18 <TypeContext.Provider value={links}>
19 <InterfaceType {...c} />
20 </TypeContext.Provider>
21 );
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected