Skip to content

Commit

Permalink
Merge pull request #239 from City-of-Helsinki/fix/component-links
Browse files Browse the repository at this point in the history
[Fix] Fix core component storybook links
  • Loading branch information
niglu1 authored Sep 9, 2020
2 parents ed175e7 + db02b12 commit fafbaf3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const Notification = ({
<animated.div
// there is an issue with react-spring -rc3 and a new version of @types/react: https://github.com/react-spring/react-spring/issues/1102
// eslint-disable-next-line @typescript-eslint/no-explicit-any
style={{ ...(style as any), ...notificationTransition }}
style={{ ...notificationTransition, ...(style as any) }}
className={classNames(
styles[position],
styles.notification,
Expand Down
2 changes: 1 addition & 1 deletion site/docs/components/buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ It is recommended to use the standard button size in most cases. If there is a b

### Core

[Buttons in hds-core](/storybook/core/?path=/story/button--primary)
[Buttons in hds-core](/storybook/core/?path=/story/components-button--primary)

### React

Expand Down
2 changes: 1 addition & 1 deletion site/docs/components/checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import Text from "../../src/components/Text";

### Core

[Checkboxes in hds-core](/storybook/core/?path=/story/checkbox--default)
[Checkboxes in hds-core](/storybook/core/?path=/story/components-checkbox--default)

### React

Expand Down
2 changes: 1 addition & 1 deletion site/docs/components/icons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ See the [icon library documentation](/visual-assets/icons "HDS Icons") for more

### Core

[Icons in hds-core](/storybook/core/?path=/story/icons--discord)
[Icons in hds-core](/storybook/core/?path=/story/icons-icons--discord)

### React

Expand Down
2 changes: 1 addition & 1 deletion site/docs/components/radio_button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ import Text from "../../src/components/Text";

### Core

[Radio buttons in hds-core](/storybook/core/?path=/story/radiobutton--default)
[Radio buttons in hds-core](/storybook/core/?path=/story/components-radio-button--default)

### React

Expand Down
2 changes: 1 addition & 1 deletion site/docs/components/status_label.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import Link from "../../src/components/Link";

### Core

[Status labels in hds-core](/storybook/core/?path=/story/status-label--default)
[Status labels in hds-core](/storybook/core/?path=/story/components-status-label--default)

### React

Expand Down
4 changes: 2 additions & 2 deletions site/docs/components/text_fields.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ Both text input and text area can be provided with additional tooltip. Tooltip i

### Core

[Text inputs in hds-core](/storybook/core/?path=/story/text-input--default)
[Text inputs in hds-core](/storybook/core/?path=/story/components-text-input--default)

[Text areas in hds-core](/storybook/core/?path=/story/textarea--default)
[Text areas in hds-core](/storybook/core/?path=/story/components-textarea--default)

### React

Expand Down

0 comments on commit fafbaf3

Please sign in to comment.