Skip to content

Commit

Permalink
Delete dummy FadeComponent and use Slider for transitionComponent exa…
Browse files Browse the repository at this point in the history
…mple
  • Loading branch information
acelaya committed Apr 24, 2023
1 parent 68be7fa commit e97d1e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 38 deletions.
35 changes: 0 additions & 35 deletions src/pattern-library/components/patterns/FadeComponent.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import {
InputGroup,
Link,
Scroll,
Slider,
Tab,
TabList,
} from '../../../../';
import { ModalDialog } from '../../../../components/feedback';
import type { ModalDialogProps } from '../../../../components/feedback/ModalDialog';
import Library from '../../Library';
import FadeComponent from '../FadeComponent';
import { LoremIpsum, nabokovNovels } from '../samples';
import type { NabokovNovel } from '../samples';

Expand Down Expand Up @@ -354,10 +354,10 @@ export default function DialogPage() {
>
<Dialog_
title="Dialog with TransitionComponent example"
transitionComponent={FadeComponent}
transitionComponent={Slider}
>
<p>
This dialog has a fade in/out transition when opened/closed.
This dialog has a slide down/up transition when opened/closed.
</p>
</Dialog_>
</Library.Demo>
Expand Down

0 comments on commit e97d1e4

Please sign in to comment.