diff --git a/addons/links/README.md b/addons/links/README.md index 1f4b5346e446..c512695b275d 100644 --- a/addons/links/README.md +++ b/addons/links/README.md @@ -143,4 +143,4 @@ It accepts all the props the `a` element does, plus `story` and `kind`. It the ` ``` -To implement such a component for another framework, you need to add special handling for `click` event on native `a` element. See [`RoutedLink` sources](https://github.com/storybookjs/storybook/blob/main/addons/links/src/react/components/RoutedLink.js#L20-L24) for reference. +To implement such a component for another framework, you need to add special handling for `click` event on native `a` element. See [`RoutedLink` sources](https://github.com/storybookjs/storybook/blob/main/addons/links/src/react/components/RoutedLink.tsx) for reference. diff --git a/addons/links/src/react/components/RoutedLink.tsx b/addons/links/src/react/components/RoutedLink.tsx index 2c5ede5f1d33..7fbf75157ba4 100644 --- a/addons/links/src/react/components/RoutedLink.tsx +++ b/addons/links/src/react/components/RoutedLink.tsx @@ -1,6 +1,6 @@ import React from 'react'; -// NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.js`. +// NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.tsx`. // It's duplicated here because that copy has an explicit dependency on // React 16.3+, which breaks older versions of React running in the preview. // The proper DRY solution is to create a new package that doesn't depend diff --git a/lib/ui/README.md b/lib/ui/README.md index c67276635788..9fff22f3c9fa 100644 --- a/lib/ui/README.md +++ b/lib/ui/README.md @@ -1,4 +1,4 @@ -# Storybook UI +