Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 7a536e6

Browse files
jlambertsSebastianAigner
authored andcommitted
Update react-share example link
The current version of `react-share` uses a `.tsx` file instead of a `.jsx` file; this PR updates the outdated, broken link.
1 parent 94f6b35 commit 7a536e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Building Web Applications with React and Kotlin JS/07_Using_Packages_From_NPM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ dependencies {
123123

124124
Just like the video player,
125125
we will need to write some basic external declarations in order to use `react-share` from Kotlin.
126-
Looking at the [examples on GitHub](https://github.com/nygardk/react-share/blob/master/demo/Demo.jsx#L61),
126+
Looking at the [examples on GitHub](https://github.com/nygardk/react-share/blob/master/demo/Demo.tsx#L61),
127127
it becomes clear that each share button consists of two React components.
128128
For example, there's an`EmailShareButton` and an `EmailIcon`.
129129
The different types of share buttons and icons all share the same kind of interface, which makes our job easier.

0 commit comments

Comments
 (0)