Skip to content

Commit 5a34769

Browse files
committed
chore: update stories again
1 parent b367495 commit 5a34769

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

site/src/components/OverflowY/OverflowY.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ const meta: Meta<typeof OverflowY> = {
1414
children: numbers.map((num, i) => (
1515
<p
1616
key={num}
17-
style={{
17+
css={{
1818
height: "50px",
1919
padding: 0,
2020
margin: 0,
21+
color: "black",
2122
backgroundColor: i % 2 === 0 ? "white" : "gray",
2223
}}
2324
>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { Meta, StoryObj } from "@storybook/react";
2+
import { PopoverContainer } from "./PopoverContainer";
3+
import Button from "@mui/material/Button";
4+
5+
const numbers: number[] = [];
6+
for (let i = 0; i < 20; i++) {
7+
numbers.push(i + 1);
8+
}
9+
10+
const meta: Meta<typeof PopoverContainer> = {
11+
title: "components/PopoverContainer",
12+
component: PopoverContainer,
13+
args: {
14+
anchorButton: <Button>I have no hooks/refs</Button>,
15+
children: <p>Hiya!</p>,
16+
originY: "bottom",
17+
},
18+
};
19+
20+
export default meta;
21+
22+
type Story = StoryObj<typeof PopoverContainer>;
23+
export const Example: Story = {};

0 commit comments

Comments
 (0)