@varlet/ui
Version:
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
48 lines (47 loc) • 779 B
JavaScript
import { defineListenerProp } from "../utils/components.mjs";
const props = {
value: {
type: null,
required: true
},
id: {
type: String,
default: ""
},
isFocusing: Boolean,
size: {
type: String,
default: "normal"
},
variant: {
type: String,
default: "standard"
},
placeholder: String,
line: {
type: Boolean,
default: true
},
hint: {
type: Boolean,
default: true
},
hintCenter: {
type: Boolean,
default: true
},
textColor: String,
focusColor: String,
blurColor: String,
isError: Boolean,
formDisabled: Boolean,
disabled: Boolean,
clearable: Boolean,
cursor: String,
composing: Boolean,
onClick: defineListenerProp(),
onClear: defineListenerProp()
};
export {
props
};