Skip to content

Commit 4d73def

Browse files
committed
chore: format
1 parent bda8cf1 commit 4d73def

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

example/pages/index.tsx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
import type { NextPage } from 'next';
2-
import Image from 'next/image';
3-
import UploadcareImage, { uploadcareLoader } from '@uploadcare/nextjs-loader';
4-
import { FC } from 'react';
5-
import styles from '../styles/Home.module.css';
1+
import type { NextPage } from 'next'
2+
import Image from 'next/image'
3+
import UploadcareImage, { uploadcareLoader } from '@uploadcare/nextjs-loader'
4+
import { FC } from 'react'
5+
import styles from '../styles/Home.module.css'
66

77
type CodeProps = {
8-
[key: string]: any;
9-
};
10-
const Code: FC<CodeProps> = (p) => (
11-
<code className={styles.inlineCode} {...p} />
12-
);
8+
[key: string]: any
9+
}
10+
const Code: FC<CodeProps> = (p) => <code className={styles.inlineCode} {...p} />
1311

1412
const Home: NextPage = () => (
1513
<div className={styles.container}>
@@ -50,7 +48,8 @@ const Home: NextPage = () => (
5048
<p>
5149
The following is an example of use of the <Code>UploadcareImage</Code>{' '}
5250
helper component with <Code>placeholder=blur</Code> property. It&apos;s
53-
better to enable network throttling in dev tools to see the blurred placeholder.
51+
better to enable network throttling in dev tools to see the blurred
52+
placeholder.
5453
</p>
5554
<UploadcareImage
5655
alt="Vercel logo"
@@ -108,6 +107,6 @@ const Home: NextPage = () => (
108107
.
109108
</div>
110109
</div>
111-
);
110+
)
112111

113-
export default Home;
112+
export default Home

0 commit comments

Comments
 (0)