8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
disabled
1 parent 71e13d8 commit 57cfe9eCopy full SHA for 57cfe9e
packages/coreui-react/src/components/tabs/CTab.tsx
@@ -9,6 +9,10 @@ export interface CTabProps extends HTMLAttributes<HTMLButtonElement> {
9
* A string of all className you want applied to the base component.
10
*/
11
className?: string
12
+ /**
13
+ * Toggle the disabled state for the component.
14
+ */
15
+ disabled?: boolean
16
/**
17
* Item key.
18
@@ -50,6 +54,7 @@ export const CTab = forwardRef<HTMLButtonElement, CTabProps>(
50
54
CTab.propTypes = {
51
55
children: PropTypes.node,
52
56
className: PropTypes.string,
57
+ disabled: PropTypes.bool,
53
58
itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
59
}
60
0 commit comments