1
1
import { code , CodeBlock , CodeBlockBody , CodeBlockCode , CodeBlockCopyButton } from "@/code-block" ;
2
2
import { Input } from "@/input" ;
3
- import { Table , TableBody , TableHead , TableHeader , TableRow } from "@/table" ;
3
+ import { Table , TableBody , TableHead , TableHeader , TableRow , TableCell } from "@/table" ;
4
4
import type { HeadersFunction , MetaFunction } from "@remix-run/node" ;
5
5
import { Example } from "~/components/example" ;
6
6
@@ -31,10 +31,8 @@ export default function Page() {
31
31
< CodeBlockBody >
32
32
< CodeBlockCopyButton />
33
33
< CodeBlockCode language = "tsx" > { code `
34
- <>
35
- <Input placeholder="Enter a username" />
36
- <Input placeholder="Enter a username" aria-invalid />
37
- </>
34
+ <Input placeholder="Enter a username" />
35
+ <Input placeholder="Enter a username" aria-invalid />
38
36
` } </ CodeBlockCode >
39
37
</ CodeBlockBody >
40
38
</ CodeBlock >
@@ -50,14 +48,15 @@ export default function Page() {
50
48
</ TableRow >
51
49
</ TableHeader >
52
50
< TableBody className = "font-mono text-xs text-gray-600" >
53
- { /* <TableRow>
54
- <TableCell className="align-top font-medium">state </TableCell>
51
+ < TableRow >
52
+ < TableCell className = "align-top font-medium" > aria-invalid </ TableCell >
55
53
< TableCell className = "space-y-2 align-top text-xs" >
56
- <p>default</p>
57
- <p>danger</p>
54
+ boolean
55
+ </ TableCell >
56
+ < TableCell className = "align-top" >
57
+ false
58
58
</ TableCell >
59
- <TableCell className="align-top">default</TableCell>
60
- </TableRow> */ }
59
+ </ TableRow >
61
60
</ TableBody >
62
61
</ Table >
63
62
</ div >
0 commit comments