1
- import { CodeBlock , CodeBlockBody , CodeBlockCode , CodeBlockCopyButton } from "@/code-block" ;
2
- import { code } from "@/code-block/code" ;
3
- import { Input } from "@/input" ;
4
- import { Table , TableBody , TableCell , TableHead , TableHeader , TableRow } from "@/table" ;
1
+ import { code } from "@/code-block/src/code " ;
2
+ import { CodeBlock , CodeBlockBody , CodeBlockCode , CodeBlockCopyButton } from "@/code-block/src/ code-block " ;
3
+ import { Input } from "@/input/src/input " ;
4
+ import { Table , TableBody , TableHead , TableHeader , TableRow } from "@/table/src /table" ;
5
5
import type { HeadersFunction , MetaFunction } from "@remix-run/node" ;
6
6
import { Example } from "~/components/example" ;
7
7
@@ -26,12 +26,17 @@ export default function Page() {
26
26
27
27
< Example className = "mt-4 flex-col gap-4" >
28
28
< Input className = "max-w-64" placeholder = "Enter a username" />
29
- < Input className = "max-w-64" placeholder = "Enter a username" state = "danger" />
29
+ < Input className = "max-w-64" placeholder = "Enter a username" aria-invalid />
30
30
</ Example >
31
31
< CodeBlock className = "rounded-b-lg rounded-t-none" >
32
32
< CodeBlockBody >
33
33
< CodeBlockCopyButton />
34
- < CodeBlockCode language = "tsx" > { code `<Input placeholder="Enter a username" />` } </ CodeBlockCode >
34
+ < CodeBlockCode language = "tsx" > { code `
35
+ <>
36
+ <Input placeholder="Enter a username" />
37
+ <Input placeholder="Enter a username" aria-invalid />
38
+ </>
39
+ ` } </ CodeBlockCode >
35
40
</ CodeBlockBody >
36
41
</ CodeBlock >
37
42
@@ -46,14 +51,14 @@ export default function Page() {
46
51
</ TableRow >
47
52
</ TableHeader >
48
53
< TableBody className = "font-mono text-xs text-gray-600" >
49
- < TableRow >
54
+ { /* <TableRow>
50
55
<TableCell className="align-top font-medium">state</TableCell>
51
56
<TableCell className="space-y-2 align-top text-xs">
52
57
<p>default</p>
53
58
<p>danger</p>
54
59
</TableCell>
55
60
<TableCell className="align-top">default</TableCell>
56
- </ TableRow >
61
+ </TableRow> */ }
57
62
</ TableBody >
58
63
</ Table >
59
64
</ div >
0 commit comments