Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8fefa69

Browse filesBrowse files
Merge branch 'coreui:main' into main
2 parents 8b25a39 + b89585b commit 8fefa69
Copy full SHA for 8fefa69

File tree

3 files changed

+7
-1
lines changed
Filter options

3 files changed

+7
-1
lines changed

‎packages/coreui-react/src/components/form/CFormSelect.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/form/CFormSelect.tsx
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWra
77
type Option = {
88
disabled?: boolean
99
label?: string
10+
selected?: boolean
1011
value?: string
1112
}
1213

‎packages/coreui-react/src/components/grid/CRow.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/grid/CRow.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const CRow = forwardRef<HTMLDivElement, CRowProps>(
9191
})
9292

9393
return (
94-
<div className={classNames('row', repsonsiveClassNames, className)} ref={ref}>
94+
<div className={classNames('row', repsonsiveClassNames, className)} {...rest} ref={ref}>
9595
{children}
9696
</div>
9797
)

‎packages/coreui-react/src/components/tabs/CTab.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/tabs/CTab.tsx
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ export interface CTabProps extends HTMLAttributes<HTMLButtonElement> {
99
* A string of all className you want applied to the base component.
1010
*/
1111
className?: string
12+
/**
13+
* Toggle the disabled state for the component.
14+
*/
15+
disabled?: boolean
1216
/**
1317
* Item key.
1418
*/
@@ -50,6 +54,7 @@ export const CTab = forwardRef<HTMLButtonElement, CTabProps>(
5054
CTab.propTypes = {
5155
children: PropTypes.node,
5256
className: PropTypes.string,
57+
disabled: PropTypes.bool,
5358
itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
5459
}
5560

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.