Skip to content

Commit 262be27

Browse files
committed
fix: format
1 parent 4823385 commit 262be27

File tree

1 file changed

+121
-112
lines changed

1 file changed

+121
-112
lines changed

src/autogenerated/previews.ts

+121-112
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
2-
// This file is autogenerated by scripts/build-preview-imports.ts
3-
// Do not edit this file directly.
4-
import React from "react";
5-
6-
export const previews = {
7-
"components/animations/sparkle-button": {
8-
component: React.lazy<React.FC>(() => import("~/content/components/animations/sparkle-button")),
9-
code : `import { Button } from "@/modules/components/sparkle-button";
1+
// This file is autogenerated by scripts/build-preview-imports.ts
2+
// Do not edit this file directly.
3+
import React from "react";
4+
5+
export const previews = {
6+
"components/animations/sparkle-button": {
7+
component: React.lazy<React.FC>(
8+
() => import("~/content/components/animations/sparkle-button")
9+
),
10+
code: `import { Button } from "@/modules/components/sparkle-button";
1011
1112
export default function SparkleButton() {
1213
return <Button variant="sparkle">Get started</Button>;
1314
}
14-
`
15-
},
16-
"components/marketing/hero-section": {
17-
component: React.lazy<React.FC>(() => import("~/content/components/marketing/hero-section")),
18-
code : `import React from "react";
15+
`,
16+
},
17+
"components/marketing/hero-section": {
18+
component: React.lazy<React.FC>(
19+
() => import("~/content/components/marketing/hero-section")
20+
),
21+
code: `import React from "react";
1922
import Link from "next/link";
2023
import { ArrowRightIcon, SearchIcon, SparklesIcon } from "lucide-react";
2124
import { badgeVariants } from "@/components/ui/badge";
@@ -54,18 +57,18 @@ export default function Demo() {
5457
</section>
5558
);
5659
}
57-
`
58-
},
59-
"hooks/use-continuous-retry": {
60-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-continuous-retry")),
61-
code : `export default function Demo() {
60+
`,
61+
},
62+
"hooks/use-continuous-retry": {
63+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-continuous-retry")),
64+
code: `export default function Demo() {
6265
return <div>demo</div>;
6366
}
64-
`
65-
},
66-
"hooks/use-debounce": {
67-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-debounce")),
68-
code : `"use client";
67+
`,
68+
},
69+
"hooks/use-debounce": {
70+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-debounce")),
71+
code: `"use client";
6972
7073
import * as React from "react";
7174
import { Loader2Icon, SearchIcon } from "lucide-react";
@@ -118,88 +121,94 @@ export default function UseDebounceDemo() {
118121
</div>
119122
);
120123
}
121-
`
122-
},
123-
"hooks/use-fetch": {
124-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-fetch")),
125-
code : `export default function Demo() {
124+
`,
125+
},
126+
"hooks/use-fetch": {
127+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-fetch")),
128+
code: `export default function Demo() {
126129
return <div>demo</div>;
127130
}
128-
`
129-
},
130-
"hooks/use-intersection-observer": {
131-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-intersection-observer")),
132-
code : `export default function Demo() {
131+
`,
132+
},
133+
"hooks/use-intersection-observer": {
134+
component: React.lazy<React.FC>(
135+
() => import("~/content/hooks/use-intersection-observer")
136+
),
137+
code: `export default function Demo() {
133138
return <div>demo</div>;
134139
}
135-
`
136-
},
137-
"hooks/use-local-storage": {
138-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-local-storage")),
139-
code : `export default function Demo() {
140+
`,
141+
},
142+
"hooks/use-local-storage": {
143+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-local-storage")),
144+
code: `export default function Demo() {
140145
return <div>demo</div>;
141146
}
142-
`
143-
},
144-
"hooks/use-media-query": {
145-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-media-query")),
146-
code : `export default function Demo() {
147+
`,
148+
},
149+
"hooks/use-media-query": {
150+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-media-query")),
151+
code: `export default function Demo() {
147152
return <div>demo</div>;
148153
}
149-
`
150-
},
151-
"hooks/use-network-state": {
152-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-network-state")),
153-
code : `export default function Demo() {
154+
`,
155+
},
156+
"hooks/use-network-state": {
157+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-network-state")),
158+
code: `export default function Demo() {
154159
return <div>demo</div>;
155160
}
156-
`
157-
},
158-
"hooks/use-orientation": {
159-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-orientation")),
160-
code : `export default function Demo() {
161+
`,
162+
},
163+
"hooks/use-orientation": {
164+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-orientation")),
165+
code: `export default function Demo() {
161166
return <div>demo</div>;
162167
}
163-
`
164-
},
165-
"hooks/use-preferred-language": {
166-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-preferred-language")),
167-
code : `export default function Demo() {
168+
`,
169+
},
170+
"hooks/use-preferred-language": {
171+
component: React.lazy<React.FC>(
172+
() => import("~/content/hooks/use-preferred-language")
173+
),
174+
code: `export default function Demo() {
168175
return <div>demo</div>;
169176
}
170-
`
171-
},
172-
"hooks/use-previous": {
173-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-previous")),
174-
code : `export default function Demo() {
177+
`,
178+
},
179+
"hooks/use-previous": {
180+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-previous")),
181+
code: `export default function Demo() {
175182
return <div>demo</div>;
176183
}
177-
`
178-
},
179-
"hooks/use-session-storage": {
180-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-session-storage")),
181-
code : `export default function Demo() {
184+
`,
185+
},
186+
"hooks/use-session-storage": {
187+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-session-storage")),
188+
code: `export default function Demo() {
182189
return <div>demo</div>;
183190
}
184-
`
185-
},
186-
"hooks/use-visibility-change": {
187-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-visibility-change")),
188-
code : `export default function Demo() {
191+
`,
192+
},
193+
"hooks/use-visibility-change": {
194+
component: React.lazy<React.FC>(
195+
() => import("~/content/hooks/use-visibility-change")
196+
),
197+
code: `export default function Demo() {
189198
return <div>demo</div>;
190199
}
191-
`
192-
},
193-
"hooks/use-window-size": {
194-
component: React.lazy<React.FC>(() => import("~/content/hooks/use-window-size")),
195-
code : `export default function Demo() {
200+
`,
201+
},
202+
"hooks/use-window-size": {
203+
component: React.lazy<React.FC>(() => import("~/content/hooks/use-window-size")),
204+
code: `export default function Demo() {
196205
return <div>demo</div>;
197206
}
198-
`
199-
},
200-
"pages/about": {
201-
component: React.lazy<React.FC>(() => import("~/content/pages/about")),
202-
code : `export default function About() {
207+
`,
208+
},
209+
"pages/about": {
210+
component: React.lazy<React.FC>(() => import("~/content/pages/about")),
211+
code: `export default function About() {
203212
return (
204213
<div className="min-h-screen">
205214
<h1>About</h1>
@@ -210,11 +219,11 @@ export default function UseDebounceDemo() {
210219
</div>
211220
);
212221
}
213-
`
214-
},
215-
"pages/account": {
216-
component: React.lazy<React.FC>(() => import("~/content/pages/account")),
217-
code : `export default function Account() {
222+
`,
223+
},
224+
"pages/account": {
225+
component: React.lazy<React.FC>(() => import("~/content/pages/account")),
226+
code: `export default function Account() {
218227
return (
219228
<div className="min-h-screen">
220229
<h1>Account</h1>
@@ -225,11 +234,11 @@ export default function UseDebounceDemo() {
225234
</div>
226235
);
227236
}
228-
`
229-
},
230-
"pages/landing": {
231-
component: React.lazy<React.FC>(() => import("~/content/pages/landing")),
232-
code : `export default function Landing() {
237+
`,
238+
},
239+
"pages/landing": {
240+
component: React.lazy<React.FC>(() => import("~/content/pages/landing")),
241+
code: `export default function Landing() {
233242
return (
234243
<div className="min-h-screen">
235244
<h1>Landing</h1>
@@ -240,11 +249,11 @@ export default function UseDebounceDemo() {
240249
</div>
241250
);
242251
}
243-
`
244-
},
245-
"pages/login": {
246-
component: React.lazy<React.FC>(() => import("~/content/pages/login")),
247-
code : `export default function Login() {
252+
`,
253+
},
254+
"pages/login": {
255+
component: React.lazy<React.FC>(() => import("~/content/pages/login")),
256+
code: `export default function Login() {
248257
return (
249258
<div className="min-h-screen">
250259
<h1>Login</h1>
@@ -255,11 +264,11 @@ export default function UseDebounceDemo() {
255264
</div>
256265
);
257266
}
258-
`
259-
},
260-
"pages/pricing": {
261-
component: React.lazy<React.FC>(() => import("~/content/pages/pricing")),
262-
code : `export default function Pricing() {
267+
`,
268+
},
269+
"pages/pricing": {
270+
component: React.lazy<React.FC>(() => import("~/content/pages/pricing")),
271+
code: `export default function Pricing() {
263272
return (
264273
<div className="min-h-screen">
265274
<h1>Pricing</h1>
@@ -270,11 +279,11 @@ export default function UseDebounceDemo() {
270279
</div>
271280
);
272281
}
273-
`
274-
},
275-
"pages/register": {
276-
component: React.lazy<React.FC>(() => import("~/content/pages/register")),
277-
code : `export default function Register() {
282+
`,
283+
},
284+
"pages/register": {
285+
component: React.lazy<React.FC>(() => import("~/content/pages/register")),
286+
code: `export default function Register() {
278287
return (
279288
<div className="min-h-screen">
280289
<h1>Register</h1>
@@ -285,6 +294,6 @@ export default function UseDebounceDemo() {
285294
</div>
286295
);
287296
}
288-
`
289-
}
290-
}
297+
`,
298+
},
299+
};

0 commit comments

Comments
 (0)