Skip to content

[pull] main from coreui:main #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 21, 2024
2 changes: 1 addition & 1 deletion packages/coreui-react/src/components/grid/CRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const CRow = forwardRef<HTMLDivElement, CRowProps>(
})

return (
<div className={classNames('row', repsonsiveClassNames, className)} ref={ref}>
<div className={classNames('row', repsonsiveClassNames, className)} {...rest} ref={ref}>
{children}
</div>
)
Expand Down
5 changes: 5 additions & 0 deletions packages/coreui-react/src/components/tabs/CTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ export interface CTabProps extends HTMLAttributes<HTMLButtonElement> {
* A string of all className you want applied to the base component.
*/
className?: string
/**
* Toggle the disabled state for the component.
*/
disabled?: boolean
/**
* Item key.
*/
Expand Down Expand Up @@ -50,6 +54,7 @@ export const CTab = forwardRef<HTMLButtonElement, CTabProps>(
CTab.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
disabled: PropTypes.bool,
itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
}

Expand Down