Skip to content

Commit e532f5a

Browse files
committed
fix(CNavItem): class is now a required property; closes #305
1 parent 3162650 commit e532f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/coreui-vue/src/components/nav/CNavItem.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { CNavLink } from './CNavLink'
44
import type { ComponentProps } from '../../utils/ComponentProps'
55

66
interface CNavItemProps extends ComponentProps<typeof CNavLink> {
7-
as: string
8-
class: string
7+
as?: string
8+
class?: string
99
}
1010

1111
const CNavItem = defineComponent({

0 commit comments

Comments
 (0)