mirror of
https://github.com/youzan/vant.git
synced 2026-05-02 01:01:43 +08:00
[improvement] Actionsheet: jsx (#2444)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import create from '../utils/create';
|
||||
import createBem from '../utils/bem';
|
||||
|
||||
const bem = createBem('van-badge-group');
|
||||
|
||||
export default create({
|
||||
name: 'badge-group',
|
||||
@@ -24,7 +27,7 @@ export default create({
|
||||
|
||||
render(h) {
|
||||
return (
|
||||
<div class={['van-hairline--top-bottom', this.b()]}>
|
||||
<div class={['van-hairline--top-bottom', bem()]}>
|
||||
{this.$slots.default}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user