Skip to content

Commit 9de3309

Browse files
committed
Add explicit demo story
1 parent 9c69269 commit 9de3309

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/stories/3 Demo.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { Meta, Story } from "@storybook/blocks"
2+
import { GenericResultRenderer } from "./FairDOElasticSearch.stories"
3+
4+
<Meta title="Demo" />
5+
6+
<style>
7+
{`
8+
.sbdocs-wrapper > div:has(div > .toc-wrapper) {
9+
display: none;
10+
}
11+
`}
12+
</style>
13+
14+
15+
<Story of={GenericResultRenderer} />
16+
17+
18+

src/stories/FairDOElasticSearch.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ export const GenericResultRenderer: Story = {
192192
<GenericResultView
193193
result={props.result}
194194
invertImageInDarkMode
195-
config={demoConfig}
196195
tags={[
197196
{
198197
icon: <UserIcon className="rfs-shrink-0 rfs-size-4 rfs-mr-2" />,

0 commit comments

Comments
 (0)