We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b5f047 commit 6094769Copy full SHA for 6094769
1 file changed
src/components/Typography/stories/InlineText.stories.tsx
@@ -0,0 +1,27 @@
1
+import React from "react";
2
+import { Meta, StoryFn } from "@storybook/react";
3
+
4
+import { InlineText } from "../InlineText";
5
6
+import overflowTextConfig from "./OverflowText.stories";
7
8
+const config = {
9
+ title: "Components/Typography/InlineText",
10
+ component: InlineText,
11
+ argTypes: {
12
+ children: overflowTextConfig.argTypes?.children,
13
+ },
14
+} as Meta<typeof InlineText>;
15
+export default config;
16
17
+const Template: StoryFn<typeof InlineText> = (args) => <InlineText {...args} />;
18
19
+export const Default = Template.bind({});
20
+Default.args = {
21
+ children: (
22
+ <>
23
+ <div>Block line 1</div>
24
+ <div>Block line 2</div>
25
+ </>
26
+ ),
27
+};
0 commit comments