element-plus
Version:
A Component Library for Vue 3
46 lines (44 loc) • 869 B
JavaScript
import { buildProps } from "../../../utils/vue/props/runtime.mjs";
import { iconPropType } from "../../../utils/vue/icon.mjs";
//#region ../../packages/components/timeline/src/timeline-item.ts
/**
* @deprecated Removed after 3.0.0, Use `TimelineItemProps` instead.
*/
const timelineItemProps = buildProps({
timestamp: {
type: String,
default: ""
},
hideTimestamp: Boolean,
center: Boolean,
placement: {
type: String,
values: ["top", "bottom"],
default: "bottom"
},
type: {
type: String,
values: [
"primary",
"success",
"warning",
"danger",
"info"
],
default: ""
},
color: {
type: String,
default: ""
},
size: {
type: String,
values: ["normal", "large"],
default: "normal"
},
icon: { type: iconPropType },
hollow: Boolean
});
//#endregion
export { timelineItemProps };
//# sourceMappingURL=timeline-item.mjs.map