Skip to content

Commit

Permalink
docs(components): gs-wastewater-mutations-over-time: remove misplaced…
Browse files Browse the repository at this point in the history
… link in attribute docs
  • Loading branch information
fengelniederhammer committed Jan 27, 2025
1 parent 3b98625 commit 8b72ba2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ const Template = {
render: (args: WastewaterMutationsOverTimeProps) => (
<LapisUrlContext.Provider value={WISE_LAPIS_URL}>
<ReferenceGenomeContext.Provider value={referenceGenome}>
<WastewaterMutationsOverTime
width={args.width}
height={args.height}
lapisFilter={args.lapisFilter}
sequenceType={args.sequenceType}
/>
<WastewaterMutationsOverTime {...args} />
</ReferenceGenomeContext.Provider>
</LapisUrlContext.Provider>
),
Expand All @@ -48,6 +43,7 @@ export const Default: StoryObj<WastewaterMutationsOverTimeProps> = {
height: '700px',
lapisFilter: {},
sequenceType: 'nucleotide',
maxNumberOfGridRows: 100,
},
parameters: {
fetchMock: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const codeExample = String.raw`
sequenceType='nucleotide'
width='100%'
height='700px'
maxNumberOfGridRows='100'
>
<span slot="infoText">Some info text</span>
</gs-wastewater-mutations-over-time>`;
Expand All @@ -36,6 +37,7 @@ const meta: Meta<WastewaterMutationsOverTimeProps & { infoText: string }> = {
width: '100%',
height: '700px',
infoText: 'Some info text',
maxNumberOfGridRows: 100,
},
parameters: withComponentDocs({
componentDocs: {
Expand All @@ -58,6 +60,7 @@ export const WastewaterMutationsOverTime: StoryObj<WastewaterMutationsOverTimePr
.sequenceType=${args.sequenceType}
.width=${args.width}
.height=${args.height}
.maxNumberOfGridRows=${args.maxNumberOfGridRows}
>
<span slot="infoText">${args.infoText}</span>
</gs-wastewater-mutations-over-time>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export class WastewaterMutationsOverTimeComponent extends PreactLitAdapterWithGr

/**
* The maximum number of grid rows to display.
*
* Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
*/
@property({ type: Number })
maxNumberOfGridRows: number = 100;
Expand Down

0 comments on commit 8b72ba2

Please sign in to comment.