Skip to content

Commit 6ca1ec9

Browse files
committed
fix(CNavItem): as is now not a required property
1 parent 20a9dd2 commit 6ca1ec9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,25 @@ interface CNavItemProps extends ComponentProps<typeof CNavLink> {
1010
const CNavItem = defineComponent({
1111
name: 'CNavItem',
1212
props: {
13-
...CNavLink.props,
13+
/**
14+
* Toggle the active state for the component.
15+
*/
16+
active: Boolean,
1417
/**
1518
* Component used for the root node. Either a string to use a HTML element or a component.
1619
*/
1720
as: {
1821
type: String,
1922
default: 'li',
2023
},
24+
/**
25+
* Toggle the disabled state for the component.
26+
*/
27+
disabled: Boolean,
28+
/**
29+
* @ignore
30+
*/
31+
href: String,
2132
},
2233
setup(props: CNavItemProps, { slots }) {
2334
return () =>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy