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

Function FileProvider

packages/dev/s2-docs/src/CodePlatter.tsx:84–86  ·  view source on GitHub ↗
(props: ProviderProps<FileProviderContextValue | null>)

Source from the content-addressed store, hash-verified

82
83const FileProviderContext = createContext<FileProviderContextValue | null>(null);
84export function FileProvider(props: ProviderProps<FileProviderContextValue | null>) {
85 return <FileProviderContext {...props} />;
86}
87
88const ShadcnContext = createContext<{
89 type: 'vanilla' | 'tailwind' | 'hooks';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected