1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix typos found in review

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann 2020-12-03 14:16:13 -05:00
parent 95d11c3fcd
commit ce97ff2f28

View File

@ -57,7 +57,7 @@ export default class ExampleExtension extends LensRendererExtension {
``` ```
Cluster pages are objects matching the `PageRegistration` interface. Cluster pages are objects matching the `PageRegistration` interface.
The `id` field identiifies the page, and at its simplest is just a string identifier, as shown in the example above. The `id` field identifies the page, and at its simplest is just a string identifier, as shown in the example above.
The 'id' field can also convey route path details, such as variable parameters provided to a page ([See example below]()). The 'id' field can also convey route path details, such as variable parameters provided to a page ([See example below]()).
The `components` field matches the `PageComponents` interface for wich there is one field, `Page`. The `components` field matches the `PageComponents` interface for wich there is one field, `Page`.
`Page` is of type ` React.ComponentType<any>`, which gives you great flexibility in defining the appearance and behaviour of your page. `Page` is of type ` React.ComponentType<any>`, which gives you great flexibility in defining the appearance and behaviour of your page.
@ -239,7 +239,7 @@ export default class HelpExtension extends LensRendererExtension {
``` ```
Global pages are objects matching the `PageRegistration` interface. Global pages are objects matching the `PageRegistration` interface.
The `id` field identiifies the page, and at its simplest is just a string identifier, as shown in the example above. The `id` field identifies the page, and at its simplest is just a string identifier, as shown in the example above.
The 'id' field can also convey route path details, such as variable parameters provided to a page ([See example below]()). The 'id' field can also convey route path details, such as variable parameters provided to a page ([See example below]()).
The `components` field matches the `PageComponents` interface for which there is one field, `Page`. The `components` field matches the `PageComponents` interface for which there is one field, `Page`.
`Page` is of type ` React.ComponentType<any>`, which gives you great flexibility in defining the appearance and behaviour of your page. `Page` is of type ` React.ComponentType<any>`, which gives you great flexibility in defining the appearance and behaviour of your page.