breaking change: rename GoodsAction to ActionBar
This commit is contained in:
@@ -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>
|
||||
);
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user