@@ -4,41 +4,41 @@ import { FloatingLabel } from '~/src';
4
4
const code = `
5
5
'use client';
6
6
7
- import { Spinner } from 'flowbite-react';
7
+ import { FloatingLabel } from 'flowbite-react';
8
8
9
9
function Component() {
10
10
return (
11
11
<>
12
12
<div className="grid grid-flow-col justify-stretch space-x-4">
13
- <FloatingLabel variant="filled" label="Filled Success" color="error " />
14
- <FloatingLabel variant="outlined" label="Outlined Success" color="error " />
15
- <FloatingLabel variant="standard" label="Standard Success" color="error " />
13
+ <FloatingLabel variant="filled" label="Filled Success" color="success " />
14
+ <FloatingLabel variant="outlined" label="Outlined Success" color="success " />
15
+ <FloatingLabel variant="standard" label="Standard Success" color="success " />
16
16
</div>
17
17
<div className="grid grid-flow-col justify-stretch space-x-4">
18
- <FloatingLabel variant="filled" label="Filled Error" color="success " />
19
- <FloatingLabel variant="outlined" label="Outlined Error" color="success " />
20
- <FloatingLabel variant="standard" label="Standard Error" color="success " />
18
+ <FloatingLabel variant="filled" label="Filled Error" color="error " />
19
+ <FloatingLabel variant="outlined" label="Outlined Error" color="error " />
20
+ <FloatingLabel variant="standard" label="Standard Error" color="error " />
21
21
</div>
22
22
</>
23
23
);
24
24
}
25
25
` ;
26
26
27
27
const codeRSC = `
28
- import { Spinner } from 'flowbite-react';
28
+ import { FloatingLabel } from 'flowbite-react';
29
29
30
30
function Component() {
31
31
return (
32
32
<>
33
33
<div className="grid grid-flow-col justify-stretch space-x-4">
34
- <FloatingLabel variant="filled" label="Filled Success" color="error " />
35
- <FloatingLabel variant="outlined" label="Outlined Success" color="error " />
36
- <FloatingLabel variant="standard" label="Standard Success" color="error " />
34
+ <FloatingLabel variant="filled" label="Filled Success" color="success " />
35
+ <FloatingLabel variant="outlined" label="Outlined Success" color="success " />
36
+ <FloatingLabel variant="standard" label="Standard Success" color="success " />
37
37
</div>
38
38
<div className="grid grid-flow-col justify-stretch space-x-4">
39
- <FloatingLabel variant="filled" label="Filled Error" color="success " />
40
- <FloatingLabel variant="outlined" label="Outlined Error" color="success " />
41
- <FloatingLabel variant="standard" label="Standard Error" color="success " />
39
+ <FloatingLabel variant="filled" label="Filled Error" color="error " />
40
+ <FloatingLabel variant="outlined" label="Outlined Error" color="error " />
41
+ <FloatingLabel variant="standard" label="Standard Error" color="error " />
42
42
</div>
43
43
</>
44
44
);
@@ -49,14 +49,14 @@ function Component() {
49
49
return (
50
50
< >
51
51
< div className = "grid grid-flow-col justify-stretch space-x-4" >
52
- < FloatingLabel variant = "filled" label = "Filled Success" color = "error " />
53
- < FloatingLabel variant = "outlined" label = "Outlined Success" color = "error " />
54
- < FloatingLabel variant = "standard" label = "Standard Success" color = "error " />
52
+ < FloatingLabel variant = "filled" label = "Filled Success" color = "success " />
53
+ < FloatingLabel variant = "outlined" label = "Outlined Success" color = "success " />
54
+ < FloatingLabel variant = "standard" label = "Standard Success" color = "success " />
55
55
</ div >
56
56
< div className = "grid grid-flow-col justify-stretch space-x-4" >
57
- < FloatingLabel variant = "filled" label = "Filled Error" color = "success " />
58
- < FloatingLabel variant = "outlined" label = "Outlined Error" color = "success " />
59
- < FloatingLabel variant = "standard" label = "Standard Error" color = "success " />
57
+ < FloatingLabel variant = "filled" label = "Filled Error" color = "error " />
58
+ < FloatingLabel variant = "outlined" label = "Outlined Error" color = "error " />
59
+ < FloatingLabel variant = "standard" label = "Standard Error" color = "error " />
60
60
</ div >
61
61
</ >
62
62
) ;
0 commit comments