Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(textField storybook) small changes in "TextField in a form" under… #2139

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 25px;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { createComponentTemplate } from "vibe-storybook-components";
import { Check, CloseSmall, Email, Show } from "../../Icon/Icons";
import "./TextField.stories.scss";
import { Meta, StoryObj } from "@storybook/react";
import { Heading } from "../../../next/next";

type Story = StoryObj<typeof TextField>;

Expand Down Expand Up @@ -121,7 +122,9 @@ export const Validation: Story = {
export const TextFieldInAForm: Story = {
render: () => (
<div className="monday-storybook-text-field_box">
<h1>Dark Mode Feedback From</h1>
<Heading type={Heading.types.H1} weight={Heading.weights.BOLD} maxLines={2}>
Dark Mode Feedback From
</Heading>
<div className="monday-storybook-text-field_box_wrapper">
<TextField title="Your Name" size={TextField.sizes.MEDIUM} placeholder="John Doe" />
<TextField title="Email" size={TextField.sizes.MEDIUM} placeholder="[email protected]" />
Expand Down