first commit
This commit is contained in:
30
node_modules/vant/es/skeleton-paragraph/SkeletonParagraph.mjs
generated
vendored
Normal file
30
node_modules/vant/es/skeleton-paragraph/SkeletonParagraph.mjs
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { defineComponent, createVNode as _createVNode } from "vue";
|
||||
import { createNamespace, numericProp } from "../utils/index.mjs";
|
||||
const DEFAULT_ROW_WIDTH = "100%";
|
||||
const skeletonParagraphProps = {
|
||||
round: Boolean,
|
||||
rowWidth: {
|
||||
type: numericProp,
|
||||
default: DEFAULT_ROW_WIDTH
|
||||
}
|
||||
};
|
||||
const [name, bem] = createNamespace("skeleton-paragraph");
|
||||
var stdin_default = defineComponent({
|
||||
name,
|
||||
props: skeletonParagraphProps,
|
||||
setup(props) {
|
||||
return () => _createVNode("div", {
|
||||
"class": bem([{
|
||||
round: props.round
|
||||
}]),
|
||||
"style": {
|
||||
width: props.rowWidth
|
||||
}
|
||||
}, null);
|
||||
}
|
||||
});
|
||||
export {
|
||||
DEFAULT_ROW_WIDTH,
|
||||
stdin_default as default,
|
||||
skeletonParagraphProps
|
||||
};
|
||||
Reference in New Issue
Block a user