Skip to content

Commit 364aee6

Browse files
committed
refactor: CNavbar: delete print prop
1 parent 542807d commit 364aee6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/components/Navbar/CNavbar.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ export const props = {
1616
type: String,
1717
validator: val => ['', 'top', 'bottom'].includes(val)
1818
},
19-
sticky: Boolean,
20-
print: Boolean
19+
sticky: Boolean
2120
}
2221
2322
export default {
@@ -33,7 +32,6 @@ export default {
3332
class: [
3433
props.light ? 'navbar-light' : 'navbar-dark',
3534
{
36-
'd-print': props.print,
3735
'sticky-top': props.sticky,
3836
[`bg-${props.color}`]: Boolean(props.color),
3937
[`fixed-${props.fixed}`]: Boolean(props.fixed),

src/components/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ export declare class CNavbar extends Vue {
407407
expandable: [boolean, string]
408408
fixed: string
409409
sticky: boolean
410-
print: boolean
411410
}
412411

413412
export declare class CNavbarBrand extends CLink {

0 commit comments

Comments
 (0)