Skip to content

Commit df85438

Browse files
committed
fix: Input docs
1 parent 421765e commit df85438

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/app/components/input/input.mdx

+11-9
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ The Input contain an additional Hooks, see subsection [useInput](/hooks/use-inpu
2222
/>
2323

2424
<Playground
25-
desc="Date input field."
25+
title="Date"
26+
desc="Date & Time input field."
2627
scope={{ Input }}
2728
code={`
28-
<Input.Date placeholder="Uhrzeit angeben" />
29+
<Input.Date />
2930
`}
3031
/>
3132

@@ -54,21 +55,22 @@ The Input contain an additional Hooks, see subsection [useInput](/hooks/use-inpu
5455
/>
5556

5657
<Playground
57-
title="unwritable"
58-
desc="Disable interactive inputs."
58+
title="Locked"
59+
desc="Non-interactive form fields."
5960
scope={{ Input, Spacer }}
6061
code={`
6162
<>
62-
<Input disabled placeholder="Disabled" />
63+
<Input disabled placeholder="Disabled Input" />
6364
<Spacer h={.5} />
64-
<Input readOnly initialValue="readOnly" />
65+
<Input readOnly initialValue="Read-Only Input" />
6566
</>
6667
`}
6768
/>
6869

70+
6971
<Playground
70-
title="inline label"
71-
desc="Show a short label in the line."
72+
title="Inline label"
73+
desc="Show a short label inline."
7274
scope={{ Input, Spacer }}
7375
code={`
7476
<>
@@ -80,7 +82,7 @@ The Input contain an additional Hooks, see subsection [useInput](/hooks/use-inpu
8082
/>
8183

8284
<Playground
83-
title="block label"
85+
title="Block label"
8486
desc="Labels for custom styles."
8587
scope={{ Input, Spacer, Text, Code, Dot }}
8688
code={`

0 commit comments

Comments
 (0)