@varlet/ui
Version:
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
20 lines (19 loc) • 482 B
JavaScript
import { iconProps } from "../icon/index.mjs";
import { defineListenerProp, pickProps } from "../utils/components.mjs";
const props = {
title: String,
icon: pickProps(iconProps, "name"),
namespace: pickProps(iconProps, "namespace"),
description: String,
border: Boolean,
borderOffset: [Number, String],
iconClass: String,
titleClass: String,
descriptionClass: String,
extraClass: String,
ripple: Boolean,
onClick: defineListenerProp()
};
export {
props
};