diff --git a/plugins/tech-radar/README.md b/plugins/tech-radar/README.md index ea3faf8e19..49a5bb3add 100644 --- a/plugins/tech-radar/README.md +++ b/plugins/tech-radar/README.md @@ -66,7 +66,7 @@ export interface TechRadarApi extends TechRadarComponentProps { } ``` -You can see the API directly over at . +You can see the API directly over at [src/api.ts](./src/api.ts). ### Advanced Configuration @@ -99,7 +99,7 @@ export interface TechRadarComponentProps { } ``` -You can see the API directly over at . +You can see the API directly over at [src/api.ts](./src/api.ts). ## Frequently Asked Questions @@ -109,7 +109,7 @@ You can see the API directly over at . ### How do I load in my own data? -It's simple. In both the Simple (Backstage plugin) and Advanced (React component) configurations, you can pass through a `getData` prop which expects a `Promise` signature. See more in . +It's simple. In both the Simple (Backstage plugin) and Advanced (React component) configurations, you can pass through a `getData` prop which expects a `Promise` signature. See more in [src/api.ts](./src/api.ts). Here's an example: @@ -134,7 +134,7 @@ const getHardCodedData = () => // Simple builder.add(techRadarApiRef, new TechRadar({ width: 1400, - height: 800 + height: 800, getData: getHardCodedData ));