[easy][shared-ux] Fix typos in RedirectAppLinks (#132563)

This commit is contained in:
Clint Andrew Hall 2022-05-23 12:43:56 -05:00 committed by GitHub
parent e2190233d8
commit 2d1ac53300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -70,17 +70,17 @@ This is the component is likely the most useful to solutions in Kibana. It assu
```tsx
import { RedirectAppLinks } from '@kbn/shared-ux-links-redirect-app';
<RedirectAppLinksProvider currentAppId="appId" navigateToUrl={(url) => { ... }}>
<RedirectAppLinks currentAppId="appId" navigateToUrl={(url) => { ... }}>
.
<a href="/base-path/app/another-app/some-path">Go to another-app</a>
.
</RedirectAppLinksProvider>
</RedirectAppLinks>
{/* OR */}
<RedirectAppLinksProvider {...coreStart}>
<RedirectAppLinks {...coreStart}>
.
<a href="/base-path/app/another-app/some-path">Go to another-app</a>
.
</RedirectAppLinksProvider>
</RedirectAppLinks>
```

View file

@ -7,7 +7,7 @@
*/
export { RedirectAppLinks as RedirectAppLinksContainer } from './redirect_app_links';
export { RedirectAppLinks as RedirectAppLinksComponent } from './redirect_app_links';
export { RedirectAppLinks as RedirectAppLinksComponent } from './redirect_app_links.component';
export { RedirectAppLinksKibanaProvider, RedirectAppLinksProvider } from './services';
import React, { FC } from 'react';