Skip to content

Commit 8c34099

Browse files
authored
Merge pull request #2074 from dxc-technology/Mil4n0r/fix_doc
Minor fixes inside doc
2 parents 79dfbd6 + 15114aa commit 8c34099

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

apps/website/screens/components/breadcrumbs/code/BreadcrumbsCodePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const sections = [
7171
<tr>
7272
<td>onItemClick</td>
7373
<td>
74-
<TableCode>number</TableCode>
74+
<TableCode>{"(value: string) => void"}</TableCode>
7575
</td>
7676
<td>
7777
Callback for custom navigation with third-party libraries such as Next (<Code>useRouter</Code>) or React

apps/website/screens/components/bulleted-list/code/BulletedListCodePage.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,21 @@ const sections = [
4848
</td>
4949
<td>-</td>
5050
</tr>
51+
<tr>
52+
<td>
53+
<DxcFlex direction="column" gap="0.25rem" alignItems="baseline">
54+
<StatusBadge status="required" />
55+
children
56+
</DxcFlex>
57+
</td>
58+
<td>
59+
<TableCode>React.ReactNode</TableCode>
60+
</td>
61+
<td>
62+
Contains one or more <Code>DxcBulletedList.Item</Code>.
63+
</td>
64+
<td>-</td>
65+
</tr>
5166
</tbody>
5267
</DxcTable>
5368
),

apps/website/screens/components/date-input/code/examples/uncontrolled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const code = `() => {
1919
clearable
2020
ref={inputRef}
2121
/>
22-
<DxcButton label="Submit" onClick={handleSubmit} size={{width: "medium}}" />
22+
<DxcButton label="Submit" onClick={handleSubmit} size={{width: "medium"}} />
2323
</DxcFlex>
2424
</DxcInset>
2525
);

0 commit comments

Comments
 (0)