-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more MDX documentation pages to @jbrowse/react-linear-genome-view…
… storybooks (#2262) Organize storybooks Breakup a little more Remove text searching examples
- Loading branch information
Showing
11 changed files
with
4,435 additions
and
4,109 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
7,670 changes: 3,835 additions & 3,835 deletions
7,670
products/jbrowse-react-linear-genome-view/public/nextstrain_covid.json
Large diffs are not rendered by default.
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
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
22 changes: 22 additions & 0 deletions
22
products/jbrowse-react-linear-genome-view/stories/MoreExamples.stories.mdx
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,22 @@ | ||
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks' | ||
|
||
<Meta title="More Examples" /> | ||
|
||
## Example showing two linear genome views on the same page | ||
|
||
This page of course has more than two instances, but this is just a quick code | ||
snippet to demonstrate | ||
|
||
<Canvas withSource="open"> | ||
<Story id="linear-view--two-linear-genome-views" /> | ||
</Canvas> | ||
|
||
## Demo showing that outside styles don't conflict with the component | ||
|
||
The react component takes measures to avoid being affected by styles outside of | ||
it on the page. In this case, a font and a text align, which without measures | ||
could affect the jbrowse-react-linear-genome-view component, is fine here. | ||
|
||
<Canvas withSource="open"> | ||
<Story id="linear-view--with-outside-styling" /> | ||
</Canvas> |
Oops, something went wrong.