mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 23:20:46 +03:00
25 lines
633 B
TypeScript
25 lines
633 B
TypeScript
|
import React from 'react';
|
||
|
import { StyleUtilsContext } from '../styles/createStylingFromTheme';
|
||
|
|
||
|
export function NoRtkQueryApi(): JSX.Element {
|
||
|
return (
|
||
|
<StyleUtilsContext.Consumer>
|
||
|
{({ styling }) => (
|
||
|
<div {...styling('noApiFound')}>
|
||
|
No rtk-query api found.
|
||
|
<br />
|
||
|
Make sure to follow{' '}
|
||
|
<a
|
||
|
href="https://redux-toolkit.js.org/rtk-query/overview#basic-usage"
|
||
|
target="_blank"
|
||
|
rel="noreferrer noopener"
|
||
|
>
|
||
|
the instructions
|
||
|
</a>
|
||
|
.
|
||
|
</div>
|
||
|
)}
|
||
|
</StyleUtilsContext.Consumer>
|
||
|
);
|
||
|
}
|