Update plugins/tech-radar/README.md
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -72,7 +72,7 @@ export interface TechRadarPageProps {
|
||||
|
||||
### How do I load in my own data?
|
||||
|
||||
The `TechRadar` plugin uses the `TechRadarApiRef` to get a client which implements the `TechRadarApi` interface. The default sample one is located here: https://github.com/backstage/backstage/blob/master/plugins/tech-radar/src/sample.ts. To load your own data, you'll need to provide a class that implements the `TechRadarApi` and override the `TechRadarApiRef` in the `app/src/apis.ts`.
|
||||
The `TechRadar` plugin uses the `techRadarApiRef` to get a client which implements the `TechRadarApi` interface. The default sample one is located [here](https://github.com/backstage/backstage/blob/master/plugins/tech-radar/src/sample.ts). To load your own data, you'll need to provide a class that implements the `TechRadarApi` and override the `techRadarApiRef` in the `app/src/apis.ts`.
|
||||
|
||||
```ts
|
||||
// app/src/lib/MyClient.ts
|
||||
|
||||
Reference in New Issue
Block a user