-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25189 from storybookjs/version-non-patch-from-8.0…
….0-alpha.3 Release: Prerelease 8.0.0-alpha.4
- Loading branch information
Showing
136 changed files
with
3,332 additions
and
4,330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { version as reactVersion } from 'react'; | ||
import { version as reactDomVersion } from 'react-dom'; | ||
import { ResolvedReactVersion } from './ResolvedReactVersion'; | ||
|
||
## In MDX | ||
|
||
<code>react</code>: <code data-testid="mdx-react">{reactVersion}</code> | ||
|
||
<code>react-dom</code>: <code data-testid="mdx-react-dom">{reactDomVersion}</code> | ||
|
||
## In `ResolvedReactVersion` component | ||
|
||
<ResolvedReactVersion /> |
15 changes: 15 additions & 0 deletions
15
code/addons/docs/template/stories/docs2/ResolvedReactVersion.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React, { version as reactVersion } from 'react'; | ||
import { version as reactDomVersion } from 'react-dom'; | ||
|
||
export const ResolvedReactVersion = () => { | ||
return ( | ||
<> | ||
<p> | ||
<code>react</code>: <code data-testid="component-react">{reactVersion}</code> | ||
</p> | ||
<p> | ||
<code>react-dom</code>: <code data-testid="component-react-dom">{reactDomVersion}</code> | ||
</p> | ||
</> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.