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(Checkbox storybook): story is using Link from storybook-blocks #2137

Merged
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
@@ -1,4 +1,5 @@
import { createComponentTemplate, Link } from "vibe-storybook-components";
import { createComponentTemplate } from "vibe-storybook-components";
import Link from "../../Link/Link";
import Checkbox from "../Checkbox";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import "./checkbox.stories.scss";
Expand Down Expand Up @@ -49,25 +50,11 @@ export const SingleCheckbox: Story = {
checked
label={
<>
I agree to the
<Link size={Link.sizes.SMALL} href={"#"}>
Terms of Service
</Link>
and{" "}
<Link size={Link.sizes.SMALL} href={"#"} withoutSpacing>
Privacy Policy
</Link>
.
I agree to the <Link href={"#"} text="Terms of Service" inlineText></Link> and{" "}
<Link href={"#"} text="Privacy Policy" inlineText></Link>.
</>
}
/>
),
parameters: {
rivka-ungar marked this conversation as resolved.
Show resolved Hide resolved
docs: {
liveEdit: {
isEnabled: false
}
}
},
name: "Single checkbox"
};