breaking change: rename GoodsAction to ActionBar

This commit is contained in:
chenjiahan
2020-08-20 11:54:04 +08:00
parent 1ad76a8aa3
commit fc825d7a33
22 changed files with 315 additions and 317 deletions
+23
View File
@@ -0,0 +1,23 @@
import { createNamespace } from '../utils';
import { ParentMixin } from '../mixins/relation';
const [createComponent, bem] = createNamespace('action-bar');
export default createComponent({
mixins: [ParentMixin('vanActionBar')],
props: {
safeAreaInsetBottom: {
type: Boolean,
default: true,
},
},
render() {
return (
<div class={bem({ unfit: !this.safeAreaInsetBottom })}>
{this.$slots.default?.()}
</div>
);
},
});