Skip to content

Commit ad08245

Browse files
committed
docs: update examples
1 parent 57d98be commit ad08245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/content/components/placeholder.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ In the example below, we take a typical card component and recreate it with plac
5555
<CPlaceholder xs={6} />
5656
<CPlaceholder xs={8} />
5757
</CPlaceholder>
58-
<CPlaceholder as={CButton} disabled href="#" tabIndex={-1} xs={6}></CPlaceholder>
58+
<CPlaceholder as={CButton} color="primary" disabled href="#" tabIndex={-1} xs={6}></CPlaceholder>
5959
</CCardBody>
6060
</CCard>
6161
```
@@ -70,7 +70,7 @@ We apply additional styling to `CButton`s via `::before` to ensure the `height`
7070
<p aria-hidden="true">
7171
<CPlaceholder xs={6} />
7272
</p>
73-
<CPlaceholder as={CButton} aria-hidden="true" disabled href="#" tabIndex={-1} xs={4}></CPlaceholder>
73+
<CPlaceholder as={CButton} color="primary" aria-hidden="true" disabled href="#" tabIndex={-1} xs={4}></CPlaceholder>
7474
```
7575
7676
<Callout className="mb-4" color="info">

0 commit comments

Comments
 (0)