automated_uniapp/uni_modules/cool-fixtures/hooks/base-props.ts

36 lines
788 B
TypeScript
Raw Normal View History

2025-01-09 16:40:44 +08:00
export const baseProps = {
styleSpacing: {
type: Object,
default: () => {
return {
marginTop: 0,
marginBottom: 0,
marginLR: 0,
padding: 0,
borderTopLR: 0,
borderBottomLR: 0,
};
},
},
styleColor: {
type: Object,
default: () => {
return {
color: "#000",
backgroundColor: "#FFFFFF",
opacity: 1,
};
},
},
position: {
type: Object,
default: () => {
return {
mode: "static",
top: 0,
zIndex: 1,
isSeat: true,
};
},
},
}