File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <component :is =" tag" class =" navbar-text" >
3
+ <slot ></slot >
4
+ </component >
5
+ </template >
6
+
7
+ <script >
8
+ export default {
9
+ name: ' CNavbarText' ,
10
+ props: {
11
+ tag: {
12
+ type: String ,
13
+ default: ' div'
14
+ }
15
+ }
16
+ }
17
+ </script >
Original file line number Diff line number Diff line change 1
1
import CNavbar from './CNavbar'
2
- import CNavbarNav from './CNavbarNav'
3
2
import CNavbarBrand from './CNavbarBrand'
3
+ import CNavbarNav from './CNavbarNav'
4
+ import CNavbarText from './CNavbarText'
4
5
5
6
export {
6
7
CNavbar ,
8
+ CNavbarBrand ,
7
9
CNavbarNav ,
8
- CNavbarBrand
10
+ CNavbarText
9
11
}
Original file line number Diff line number Diff line change @@ -408,6 +408,9 @@ export declare class CNavbar extends Vue {
408
408
export declare class CNavbarBrand extends CLink {
409
409
tag : string
410
410
}
411
+ export declare class CNavbarText extends Vue {
412
+ tag : string
413
+ }
411
414
412
415
export declare class CNavbarNav extends Vue {
413
416
tag : string
You can’t perform that action at this time.
0 commit comments