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

Function ShadcnProvider

packages/dev/s2-docs/src/CodePlatter.tsx:92–96  ·  view source on GitHub ↗
(
  props: ProviderProps<{type: 'vanilla' | 'tailwind' | 'hooks'; component: string} | null>
)

Source from the content-addressed store, hash-verified

90 component: string;
91} | null>(null);
92export function ShadcnProvider(
93 props: ProviderProps<{type: 'vanilla' | 'tailwind' | 'hooks'; component: string} | null>
94) {
95 return <ShadcnContext {...props} />;
96}
97
98const ShareContext = createContext<string | null>(null);
99export function ShareUrlProvider(props: ProviderProps<string | null>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected