-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbd86f7
commit 8b6dd2e
Showing
5 changed files
with
5,716 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** @type { import('@storybook/react-vite').StorybookConfig } */ | ||
const config = { | ||
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], | ||
addons: [ | ||
"@storybook/addon-links", | ||
"@storybook/addon-essentials", | ||
"@storybook/addon-onboarding", | ||
"@storybook/addon-interactions", | ||
], | ||
framework: { | ||
name: "@storybook/react-vite", | ||
options: {}, | ||
}, | ||
docs: { | ||
autodocs: "tag", | ||
}, | ||
}; | ||
export default config; |
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,14 @@ | ||
/** @type { import('@storybook/react').Preview } */ | ||
const preview = { | ||
parameters: { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/i, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export default preview; |
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,38 @@ | ||
import React from 'react'; | ||
import GensploreComponent from '../components/GensploreView'; | ||
|
||
// This default export determines where your story goes in the story list | ||
export default { | ||
title: 'GensploreComponent', | ||
component: GensploreComponent, | ||
genbankString: ` | ||
` | ||
}; | ||
|
||
const Template = (args) => <GensploreComponent genbankString={ | ||
`LOCUS Sample100bp 100 bp DNA linear UNK 24-NOV-2023 | ||
DEFINITION Synthetic construct, 100 bp DNA fragment. | ||
ACCESSION XXX00000000 | ||
VERSION XXX00000000.1 | ||
KEYWORDS . | ||
SOURCE synthetic DNA construct | ||
ORGANISM synthetic construct | ||
other sequences; artificial sequences. | ||
REFERENCE 1 (bases 1 to 100) | ||
AUTHORS Doe,J. | ||
TITLE Direct Submission | ||
JOURNAL Submitted (24-NOV-2023) to the GenBank | ||
FEATURES Location/Qualifiers | ||
CDS 1..100 | ||
/organism="synthetic construct" | ||
/mol_type="genomic DNA" | ||
/db_xref="taxon:000000" | ||
ORIGIN | ||
1 atgctagctg acgtacgtac gtagctagct agctagctac gtagctagct agctagctag | ||
61 ctgactgact gactgactga ctgactgact gactgactga | ||
//` | ||
}/>; | ||
|
||
export const Primary = Template.bind({}); | ||
|
Oops, something went wrong.
8b6dd2e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
genbank-view – ./
genbank-view-theosanderson.vercel.app
genbank-view.vercel.app
genbank-view-git-main-theosanderson.vercel.app
gensplore.genomium.org
gensplore.theo.io