FooterToolBar.vue 474 B

123456789101112131415161718192021222324252627282930
  1. <template>
  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. <script>
  12. export default {
  13. name: 'FooterToolBar',
  14. props: {
  15. prefixCls: {
  16. type: String,
  17. default: 'ant-pro-footer-toolbar'
  18. },
  19. extra: {
  20. type: [String, Object],
  21. default: ''
  22. }
  23. }
  24. }
  25. </script>
  26. <style lang="less" scoped>
  27. </style>