UNPKG

tyh-ui2

Version:

The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.

28 lines (27 loc) 465 B
const e = { title: String, message: String, time: { type: Number, default: () => 3500 }, position: { type: String, default: () => "top-right", validator: (t) => [ "top-left", "top-right", "bottom-left", "bottom-right", "" ].includes(t) }, close: Boolean, type: { type: String, validator: (t) => ["primary", "success", "danger", "warning", ""].includes(t) } }; export { e as Props };