MCPcopy
hub / github.com/marmelab/react-admin / useWrappedSource

Function useWrappedSource

packages/ra-core/src/core/useWrappedSource.ts:13–16  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

11 * };
12 */
13export const useWrappedSource = (source: string) => {
14 const sourceContext = useSourceContext();
15 return sourceContext.getSource(source);
16};

Callers 9

SimpleFormIteratorFunction · 0.90
SimpleFormIteratorFunction · 0.90
SimpleFormIteratorFunction · 0.90
SimpleFormIteratorBaseFunction · 0.90
useInputFunction · 0.90
FormDataConsumerViewFunction · 0.90

Calls 1

useSourceContextFunction · 0.90

Tested by

no test coverage detected