Skip to content

Commit 67e3e5b

Browse files
committed
docs: update API documentation
1 parent 44f50b1 commit 67e3e5b

File tree

4 files changed

+273
-2
lines changed

4 files changed

+273
-2
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
```jsx
3+
import { CConditionalPortal } from '@coreui/react'
4+
// or
5+
import CConditionalPortal from '@coreui/react/src/components/conditional-portal/CConditionalPortal'
6+
```
7+
8+
| Property | Description | Type | Default |
9+
| --- | --- | --- | --- |
10+
| **portal** | Render some children into a different part of the DOM | `boolean` | - |

packages/docs/content/api/CFormCheck.api.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ import CFormCheck from '@coreui/react/src/components/form/CFormCheck'
1616
| **hitArea** | Sets hit area to the full area of the component. | `'full'` | - |
1717
| **id** | The id global attribute defines an identifier (ID) that must be unique in the whole document. | `string` | - |
1818
| **indeterminate** | Input Checkbox indeterminate Property. | `boolean` | - |
19-
| **inline** | Group checkboxes or radios on the same horizontal row by adding. | `boolean` | - |
19+
| **inline** | Group checkboxes or radios on the same horizontal row. | `boolean` | - |
2020
| **invalid** | Set component validation state to invalid. | `boolean` | - |
2121
| **label** | The element represents a caption for a component. | `ReactNode` | - |
22+
| **reverse** | Put checkboxes or radios on the opposite side. | `boolean` | - |
2223
| **tooltipFeedback** **_4.2.0+_** | Display validation feedback in a styled tooltip. | `boolean` | - |
2324
| **type** | Specifies the type of component. | `'checkbox'` \| `'radio'` | checkbox |
2425
| **valid** | Set component validation state to valid. | `boolean` | - |

packages/docs/content/api/CFormSwitch.api.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import CFormSwitch from '@coreui/react/src/components/form/CFormSwitch'
1111
| **id** | The id global attribute defines an identifier (ID) that must be unique in the whole document. | `string` | - |
1212
| **invalid** | Set component validation state to invalid. | `boolean` | - |
1313
| **label** | The element represents a caption for a component. | `ReactNode` | - |
14+
| **reverse** | Put switch on the opposite side. | `boolean` | - |
1415
| **size** | Size the component large or extra large. Works only with `switch`. | `'lg'` \| `'xl'` | - |
1516
| **type** | Specifies the type of component. | `'checkbox'` \| `'radio'` | checkbox |
1617
| **valid** | Set component validation state to valid. | `boolean` | - |

0 commit comments

Comments
 (0)