You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs/content/api/CAlertHeading.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CAlertHeading from '@coreui/react/src/components/alert/CAlertHeading'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h4')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h4')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the base component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CBadge.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import CBadge from '@coreui/react/src/components/badge/CBadge'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'span')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'span')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
12
12
|**color**| Sets the color context of the component to one of CoreUI’s themed colors. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
13
13
|**position**| Position badge in one of the corners of a link or button. |`'top-start'`\|`'top-end'`\|`'bottom-end'`\|`'bottom-start'`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CButton.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import CButton from '@coreui/react/src/components/button/CButton'
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
10
|**active**| Toggle the active state for the component. |`boolean`| - |
11
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'button')`\|`(ElementType & 'cite')`\|`(ElementType & 'data')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| button |
11
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'button')`\|`(ElementType & 'cite')`\|`(ElementType & 'data')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| button |
12
12
|**className**| A string of all className you want applied to the base component. |`string`| - |
13
13
|**color**| Sets the color context of the component to one of CoreUI’s themed colors. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
14
14
|**disabled**| Toggle the disabled state for the component. |`boolean`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CCardHeader.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CCardHeader from '@coreui/react/src/components/card/CCardHeader'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the base component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CCardImage.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ import CCardImage from '@coreui/react/src/components/card/CCardImage'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'img')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'img')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the base component. |`string`| - |
12
12
|**orientation**| Optionally orientate the image to the top, bottom, or make it overlaid across the card. |`'top'`\|`'bottom'`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CCardSubtitle.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CCardSubtitle from '@coreui/react/src/components/card/CCardSubtitle'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h6')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h6')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CCardText.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CCardText from '@coreui/react/src/components/card/CCardText'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'p')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'p')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CCardTitle.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CCardTitle from '@coreui/react/src/components/card/CCardTitle'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h5')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h5')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| div |
11
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| div |
12
12
|**autoClose**| Configure the auto close behavior of the dropdown:<br/>- `true` - the dropdown will be closed by clicking outside or inside the dropdown menu.<br/>- `false` - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)<br/>- `'inside'` - the dropdown will be closed (only) by clicking inside the dropdown menu.<br/>- `'outside'` - the dropdown will be closed (only) by clicking outside the dropdown menu. |`boolean`\|`'inside'`\|`'outside'`| true |
13
13
|**className**| A string of all className you want applied to the base component. |`string`| - |
14
14
|**container****_v4.11.0+_**| Appends the react dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. |`Element`\|`(() => Element)`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownHeader.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CDropdownHeader from '@coreui/react/src/components/dropdown/CDropdownHead
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h6')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'h6')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownItem.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import CDropdownItem from '@coreui/react/src/components/dropdown/CDropdownItem'
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
10
|**active**| Toggle the active state for the component. |`boolean`| - |
11
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'a')`\|`(ElementType & 'cite')`\|`(ElementType & 'data')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| a |
11
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'a')`\|`(ElementType & 'cite')`\|`(ElementType & 'data')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| a |
12
12
|**className**| A string of all className you want applied to the component. |`string`| - |
13
13
|**disabled**| Toggle the disabled state for the component. |`boolean`| - |
14
14
|**href**| The href attribute specifies the URL of the page the link goes to. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownItemPlain.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CDropdownItemPlain from '@coreui/react/src/components/dropdown/CDropdownI
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'span')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'span')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownMenu.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CDropdownMenu from '@coreui/react/src/components/dropdown/CDropdownMenu'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the base component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownToggle.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import CDropdownToggle from '@coreui/react/src/components/dropdown/CDropdownTogg
15
15
|**custom**| Create a custom toggler which accepts any content. |`boolean`| - |
16
16
|**disabled**| Toggle the disabled state for the component. |`boolean`| - |
17
17
|**href**| The href attribute specifies the URL of the page the link goes to. |`string`| - |
18
-
|**navLink****_v5.0.0-rc.1+_**| If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button. |`boolean`| true |
18
+
|**navLink****_v5.0.0-rc.2+_**| If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button. |`boolean`| true |
19
19
|**role**| The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers. |`string`| - |
20
20
|**shape**| Select the shape of the component. |`'rounded'`\|`'rounded-top'`\|`'rounded-end'`\|`'rounded-bottom'`\|`'rounded-start'`\|`'rounded-circle'`\|`'rounded-pill'`\|`'rounded-0'`\|`'rounded-1'`\|`'rounded-2'`\|`'rounded-3'`\|`string`| - |
21
21
|**size**| Size the component small or large. |`'sm'`\|`'lg'`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CFormFeedback.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import CFormFeedback from '@coreui/react/src/components/form/CFormFeedback'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
12
12
|**invalid**| Method called immediately after the `value` prop changes. |`boolean`| - |
13
13
|**tooltip**| If your form layout allows it, you can display validation feedback in a styled tooltip. |`boolean`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CFormText.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CFormText from '@coreui/react/src/components/form/CFormText'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CHeaderBrand.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CHeaderBrand from '@coreui/react/src/components/header/CHeaderBrand'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'a')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'a')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CHeaderNav.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CHeaderNav from '@coreui/react/src/components/header/CHeaderNav'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CInputGroupText.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CInputGroupText from '@coreui/react/src/components/form/CInputGroupText'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'span')`\|`(ElementType & 'form')`\|`(ElementType & 'slot')`\|`... 173 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'span')`\|`(ElementType & 'form')`\|`(ElementType & 'slot')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
0 commit comments