Skip to content

Commit

Permalink
Docs(web-react): Fixed links in markdown
Browse files Browse the repository at this point in the history
- Links in storybook overview markdown were not working
  • Loading branch information
pavelklibani committed Dec 5, 2023
1 parent c89479a commit dcb90ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions packages/web-react/src/components/Button/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Button

This is React implementation of the [Button].
This is React implementation of the [Button][button].

### Basic example usage

Expand Down Expand Up @@ -50,5 +50,9 @@ import { RouterLink } from 'react-router-dom';
| `UNSAFE_className` | `string` ||| Wrapper custom class name |
| `UNSAFE_style` | `CSSProperties` ||| Wrapper custom style |

For more information see [Button] component. Button also contain all the appropriate
For more information see [Button][button] component. Button also contain all the appropriate
attributes according to the type of element. The default element type for Button is `<button>`.

[button]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web/src/scss/components/Button
[dictionary-color]: https://github.com/lmc-eu/spirit-design-system/tree/main/docs/DICTIONARIES.md#color
[dictionary-size]: https://github.com/lmc-eu/spirit-design-system/tree/main/docs/DICTIONARIES.md#size
2 changes: 1 addition & 1 deletion packages/web-react/src/components/ButtonLink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { ButtonLink } from '@lmc-eu/spirit-web-react';
| `UNSAFE_className` | `string` ||| Wrapper custom class name |
| `UNSAFE_style` | `CSSProperties` ||| Wrapper custom style |

For more information see [Button] component. ButtonLink also contain all the appropriate
For more information see [Button][button] component. ButtonLink also contain all the appropriate
attributes according to the type of element.

[button]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web/src/scss/components/Button
Expand Down

0 comments on commit dcb90ab

Please sign in to comment.