We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
as
1 parent 20a9dd2 commit 6ca1ec9Copy full SHA for 6ca1ec9
packages/coreui-vue/src/components/nav/CNavItem.ts
@@ -10,14 +10,25 @@ interface CNavItemProps extends ComponentProps<typeof CNavLink> {
10
const CNavItem = defineComponent({
11
name: 'CNavItem',
12
props: {
13
- ...CNavLink.props,
+ /**
14
+ * Toggle the active state for the component.
15
+ */
16
+ active: Boolean,
17
/**
18
* Component used for the root node. Either a string to use a HTML element or a component.
19
*/
20
as: {
21
type: String,
22
default: 'li',
23
},
24
25
+ * Toggle the disabled state for the component.
26
27
+ disabled: Boolean,
28
29
+ * @ignore
30
31
+ href: String,
32
33
setup(props: CNavItemProps, { slots }) {
34
return () =>
0 commit comments