commit | author | age
|
9bcb19
|
1 |
<template> |
I |
2 |
<div :class="prefixCls"> |
|
3 |
<div style="float: left"> |
|
4 |
<slot name="extra">{{ extra }}</slot> |
|
5 |
</div> |
|
6 |
<div style="float: right"> |
|
7 |
<slot></slot> |
|
8 |
</div> |
|
9 |
</div> |
|
10 |
</template> |
|
11 |
|
|
12 |
<script> |
|
13 |
export default { |
|
14 |
name: 'FooterToolBar', |
|
15 |
props: { |
|
16 |
prefixCls: { |
|
17 |
type: String, |
|
18 |
default: 'ant-pro-footer-toolbar' |
|
19 |
}, |
|
20 |
extra: { |
|
21 |
type: [String, Object], |
|
22 |
default: '' |
|
23 |
} |
|
24 |
} |
|
25 |
} |
|
26 |
</script> |
|
27 |
|
|
28 |
<style lang="less" scoped> |
|
29 |
|
|
30 |
</style> |