Skip to content

Commit

Permalink
test(Modal): update snapshots with illustrations
Browse files Browse the repository at this point in the history
  • Loading branch information
DSil committed Feb 19, 2024
1 parent 82b035c commit c60ea4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/orbit-components/src/Modal/Modal.ct-story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React from "react";

import { SIZES } from "./consts";
import Illustration from "../Illustration";
// eslint-disable-next-line import/extensions
import { NAMES } from "../Illustration/consts.mjs";
import Text from "../Text";
import Button from "../Button";
import Box from "../Box";
Expand All @@ -18,7 +16,7 @@ export function ModalVisualDefaultStory({ size = SIZES.NORMAL, isMobileFullPage
<Modal onClose={() => {}} size={size} isMobileFullPage={isMobileFullPage}>
<ModalHeader
title="Normal header"
illustration={<Illustration name={NAMES[0]} size="small" />}
illustration={<Illustration name="AppKiwi" size="small" />}
description="Lorem ispum dolor sit amet"
/>
<ModalSection>
Expand All @@ -41,7 +39,7 @@ export function ModalVisualMobileHeader() {
<Modal onClose={() => {}} size={SIZES.NORMAL} mobileHeader>
<ModalHeader
title="Suppressed header"
illustration={<Illustration name={NAMES[0]} size="small" />}
illustration={<Illustration name="AppKiwi" size="small" />}
suppressed
/>
<ModalSection suppressed>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c60ea4f

Please sign in to comment.