Skip to content

Commit 9b1381b

Browse files
committed
Merge branch 'joy/autocomplete' of github.com:siriwatknp/material-ui into joy/autocomplete
2 parents 3b8409a + 91d754b commit 9b1381b

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

docs/data/joy/components/autocomplete/ControllableStates.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ export default function ControllableStates() {
1313

1414
return (
1515
<div>
16-
<Typography>
17-
value:{' '}
18-
<Typography fontWeight="md" variant="soft">
19-
{`${value !== null ? `'${value}'` : 'null'}`}
16+
<Typography level="body2" sx={{ mb: 1 }}>
17+
<code>value: </code>
18+
<Typography variant="soft" sx={{ py: 0.4 }}>
19+
<code>
20+
<strong>{`${value !== null ? `'${value}'` : 'null'}`}</strong>
21+
</code>
2022
</Typography>
2123
</Typography>
22-
<Typography>
23-
inputValue:{' '}
24-
<Typography fontWeight="md" variant="soft">
25-
{`'${inputValue}'`}
24+
<Typography level="body2">
25+
<code>inputValue: </code>
26+
<Typography variant="soft" sx={{ py: 0.4 }}>
27+
<code>
28+
<strong>{`'${inputValue}'`}</strong>
29+
</code>
2630
</Typography>
2731
</Typography>
2832
<br />

0 commit comments

Comments
 (0)