Skip to content

Commit 42f5438

Browse files
committed
docs: update content
1 parent dd005cf commit 42f5438

File tree

5 files changed

+12
-15
lines changed

5 files changed

+12
-15
lines changed

packages/docs/content/4.2/components/accordion.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
CAccordionItem
1717
} from '@coreui/react/src/index'
1818

19-
2019
## How to use React Accordion component.
2120

2221
Click the accordions below to expand/collapse the accordion content.

packages/docs/content/4.2/components/badge.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ route: /components/badge
99

1010
import { CBadge, CButton } from '@coreui/react/src/index'
1111

12-
## Example
12+
## How to use React Badge Component.
1313

1414
React badge component scales to suit the size of the parent element by using relative font sizing and `em` units.
1515

16-
### Basic usage
17-
1816
<Example>
1917
<h1>Example heading <CBadge color="secondary">New</CBadge></h1>
2018
<h2>Example heading <CBadge color="secondary">New</CBadge></h2>
@@ -146,7 +144,7 @@ You can also create more generic indicators without a counter using a few more u
146144

147145
## Contextual variations
148146

149-
Add any of the below-mentioned `color` props to modify the presentation of a badge.
147+
Add any of the below-mentioned `color` props to modify the presentation of a react badge.
150148

151149
<Example>
152150
<CBadge color="primary">primary</CBadge>

packages/docs/content/4.2/components/breadcrumb.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ route: /components/breadcrumb
99

1010
import { CBreadcrumb, CBreadcrumbItem } from '@coreui/react/src/index'
1111

12-
## Example
12+
## How to use React Breadcrumb Component.
1313

14-
The breadcrumb navigation provides links back to each previous page the user navigated through and shows the current location in a website or an application. You don’t have to add separators, because they automatically added in CSS through ::before and content.
14+
The react breadcrumb navigation provides links back to each previous page the user navigated through and shows the current location in a website or an application. You don’t have to add separators, because they automatically added in CSS through ::before and content.
1515

1616
<Example>
1717
<CBreadcrumb>
@@ -114,7 +114,7 @@ $breadcrumb-divider: none;
114114

115115
## Accessibility
116116

117-
Since breadcrumbs provide navigation, it's useful to add a significant label such as `aria-label="breadcrumb"` to explain the type of navigation implemented in the `<nav>` element. You should also add an `aria-current="page"` to the last item of the set to show that it represents the current page. **CoreUI for React.js automatically add all of this labels to breadcrumb's components.**
117+
Since react breadcrumbs provide navigation, it's useful to add a significant label such as `aria-label="breadcrumb"` to explain the type of navigation implemented in the `<nav>` element. You should also add an `aria-current="page"` to the last item of the set to show that it represents the current page. **CoreUI for React.js automatically add all of this labels to breadcrumb's components.**
118118

119119
For more information, see the [WAI-ARIA Authoring Practices for the breadcrumb pattern](https://www.w3.org/TR/wai-aria-practices/#breadcrumb).
120120

packages/docs/content/4.2/components/button-group.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
CInputGroupText,
2424
} from '@coreui/react/src/index'
2525

26-
## Basic example
26+
## How to use React Button Group Component.
2727

2828
Wrap a series of `<CButton>` components in `<CButtonGroup>`.
2929

packages/docs/content/4.2/components/button.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: React Buttons Component
2+
title: React Button Component
33
name: Buttons
44
description: React button component for actions in tables, forms, cards, and more. CoreUI for React.js provides various styles, states, and size. Ready to use and easy to customize.
55
menu: Components
@@ -8,9 +8,9 @@ route: /components/buttons
88

99
import { CButton, CCallout } from '@coreui/react/src/index'
1010

11-
## Examples
11+
## How to use React Button Component.
1212

13-
CoreUI includes a bunch of predefined buttons components, each serving its own semantic purpose. Buttons show what action will happen when the user clicks or touches it. CoreUI buttons are used to initialize operations, both in the background or foreground of an experience.
13+
CoreUI includes a bunch of predefined buttons components, each serving its own semantic purpose. React buttons show what action will happen when the user clicks or touches it. CoreUI buttons are used to initialize operations, both in the background or foreground of an experience.
1414

1515
<Example>
1616
<CButton color="primary" disabled>
@@ -50,7 +50,7 @@ CoreUI includes a bunch of predefined buttons components, each serving its own s
5050

5151
## Disable text wrapping
5252

53-
If you don't want the button text to wrap, you can add the `.text-nowrap` className to the `<CButton>`. In Sass, you can set `$btn-white-space: nowrap` to disable text wrapping for each button.
53+
If you don't want the react button text to wrap, you can add the `.text-nowrap` className to the `<CButton>`. In Sass, you can set `$btn-white-space: nowrap` to disable text wrapping for each button.
5454

5555
## Button components
5656

@@ -122,7 +122,7 @@ If you need a button, but without the strong background colors. Set `variant="ou
122122

123123
## Ghost buttons
124124

125-
If you need a ghost variant of button, set `variant="ghost"` prop to remove all background colors.
125+
If you need a ghost variant of react button, set `variant="ghost"` prop to remove all background colors.
126126

127127
<Example>
128128
<CButton color="primary" variant="ghost">
@@ -169,7 +169,7 @@ If you need a ghost variant of button, set `variant="ghost"` prop to remove all
169169

170170
## Sizes
171171

172-
Larger or smaller buttons? Add `size="lg"` or `size="sm"` for additional sizes.
172+
Larger or smaller react buttons? Add `size="lg"` or `size="sm"` for additional sizes.
173173

174174
<Example>
175175
<CButton color="primary" size="lg">

0 commit comments

Comments
 (0)