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 11import CNavbar from './CNavbar'
2- import CNavbarNav from './CNavbarNav'
32import CNavbarBrand from './CNavbarBrand'
3+ import CNavbarNav from './CNavbarNav'
4+ import CNavbarText from './CNavbarText'
45
56export {
67 CNavbar ,
8+ CNavbarBrand ,
79 CNavbarNav ,
8- CNavbarBrand
10+ CNavbarText
911}
Original file line number Diff line number Diff line change @@ -408,6 +408,9 @@ export declare class CNavbar extends Vue {
408408export declare class CNavbarBrand extends CLink {
409409 tag : string
410410}
411+ export declare class CNavbarText extends Vue {
412+ tag : string
413+ }
411414
412415export declare class CNavbarNav extends Vue {
413416 tag : string
You can’t perform that action at this time.
0 commit comments