From 5f63d1a5cb9bd16a8af701ab3017fda33eef19ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Fern=C3=A1ndez?= Date: Mon, 17 Jul 2023 08:47:36 +0200 Subject: [PATCH] Grafana-ui: fix error in basic example and add basic info in TextLink component story (#71660) --- packages/grafana-ui/src/components/Link/TextLink.mdx | 10 ++++++++++ .../grafana-ui/src/components/Link/TextLink.story.tsx | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/grafana-ui/src/components/Link/TextLink.mdx b/packages/grafana-ui/src/components/Link/TextLink.mdx index e69de29bb2d..f213a2da315 100644 --- a/packages/grafana-ui/src/components/Link/TextLink.mdx +++ b/packages/grafana-ui/src/components/Link/TextLink.mdx @@ -0,0 +1,10 @@ +import { Meta, Preview, ArgTypes } from '@storybook/blocks'; +import { TextLink } from './TextLink'; + + + +# TextLink + +The TextLink component renders an anchor tag `` that takes users to another page, external or internal to Grafana. + + diff --git a/packages/grafana-ui/src/components/Link/TextLink.story.tsx b/packages/grafana-ui/src/components/Link/TextLink.story.tsx index 8ef60faa363..d6d826e2274 100644 --- a/packages/grafana-ui/src/components/Link/TextLink.story.tsx +++ b/packages/grafana-ui/src/components/Link/TextLink.story.tsx @@ -46,14 +46,14 @@ export const Example: StoryFn = (args) => {

To get started with a forever free Grafana Cloud account, sign up at   - + grafana.com .

- + Learn how in the docs