/
blockquote.center.tsx
57 lines (50 loc) · 1.41 KB
/
blockquote.center.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import { Blockquote } from "flowbite-react";
import { type CodeData } from "~/components/code-demo";
const code = `
"use client";
import { Blockquote } from "flowbite-react";
export function Component() {
return (
<Blockquote className="text-center">
"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to
complex dashboard. Perfect choice for your next SaaS application."
</Blockquote>
);
}
`;
const codeRSC = `
import { Blockquote } from "flowbite-react";
export function Component() {
return (
<Blockquote className="text-center">
"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to
complex dashboard. Perfect choice for your next SaaS application."
</Blockquote>
);
}
`;
export function Component() {
return (
<Blockquote className="text-center">
"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to
complex dashboard. Perfect choice for your next SaaS application."
</Blockquote>
);
}
export const center: CodeData = {
type: "single",
code: [
{
fileName: "client",
language: "tsx",
code,
},
{
fileName: "server",
language: "tsx",
code: codeRSC,
},
],
githubSlug: "blockquote/blockquote.center.tsx",
component: <Component />,
};