[improvement] Actionsheet: jsx (#2444)

This commit is contained in:
neverland
2019-01-05 21:37:43 +08:00
committed by GitHub
parent 72c57663de
commit f4160d7dd5
6 changed files with 111 additions and 121 deletions
+4 -1
View File
@@ -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>
);