Transition Cross Fade Examples
src / Demo.tsx
import type { ReactElement } from "react";
import { Divider } from "@react-md/divider";
import { Typography } from "@react-md/typography";
import Code from "./Code";
import CrossFadeExamplesAsync from "./CrossFadeExamplesAsync";
import CrossFadeExamplesStatic from "./CrossFadeExamplesStatic";
export default function Demo(): ReactElement {
return (
<>
<Typography type="headline-6" margin="bottom">
Static Transitions
</Typography>
<CrossFadeExamplesStatic />
<Divider />
<Typography type="headline-6">
Async with <Code>Suspense</Code>
</Typography>
<CrossFadeExamplesAsync />
<Divider />
</>
);
}