Skip to content

Commit

Permalink
chore(Coupon): remove irrelevant list size in stories
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Mar 5, 2024
1 parent 9bb8341 commit 99a040d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/orbit-components/src/Coupon/Coupon.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
import { select, text } from "@storybook/addon-knobs";
import { text } from "@storybook/addon-knobs";

import Text from "../Text";
import List, { ListItem } from "../List";
import { SIZES } from "../List/consts";

import Coupon from ".";

Expand All @@ -13,9 +12,8 @@ export default {

export const Default = () => {
const content = text("content", "PROMOTIONCODE");
const size = select("Size", Object.values(SIZES), SIZES.SMALL);
return (
<List size={size}>
<List>
<ListItem>
<Text>
Lorem ipsum dolor sit amet, consectetuer <Coupon>{content}</Coupon> elit. Proin pede
Expand Down

0 comments on commit 99a040d

Please sign in to comment.