MCPcopy Create free account
hub / github.com/anttiviljami/react-openapi-client / Props

Interface Props

src/OpenAPIProvider.tsx:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8type OpenAPIClientAxiosOpts = ConstructorParameters<typeof OpenAPIClientAxios>[0];
9
10interface Props extends OpenAPIClientAxiosOpts {
11 children?: ReactNode;
12}
13
14export const OpenAPIProvider = ({ children, ...clientOpts }: Props) => {
15 const api = useMemo(() => new OpenAPIClientAxios({ ...clientOpts }), []);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected