mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
20 lines
399 B
JavaScript
20 lines
399 B
JavaScript
import { use } from '../../utils';
|
||
import { inherit } from '../../utils/functional';
|
||
|
||
const [sfc, bem] = use('sku-row');
|
||
|
||
function SkuRow(h, props, slots, ctx) {
|
||
return (
|
||
<div class={bem()} {...inherit(ctx)}>
|
||
<div class={bem('title')}>{props.skuRow.k}:</div>
|
||
{slots.default && slots.default()}
|
||
</div>
|
||
);
|
||
}
|
||
|
||
SkuRow.props = {
|
||
skuRow: Object
|
||
};
|
||
|
||
export default sfc(SkuRow);
|