water_xcx/miniprogram_npm/tdesign-miniprogram/radio/props.js

61 lines
995 B
JavaScript

const props = {
align: {
type: String,
value: 'left',
},
allowUncheck: {
type: Boolean,
value: false,
},
checked: {
type: Boolean,
value: null,
},
defaultChecked: {
type: Boolean,
value: false,
},
color: {
type: String,
value: '#0052d9',
},
content: {
type: String,
},
contentDisabled: {
type: Boolean,
value: false,
},
disabled: {
type: Boolean,
value: undefined,
},
externalClasses: {
type: Array,
},
icon: {
type: null,
value: 'fill-circle',
},
label: {
type: String,
},
maxContentRow: {
type: Number,
value: 5,
},
maxLabelRow: {
type: Number,
value: 3,
},
name: {
type: String,
value: '',
},
value: {
type: null,
value: false,
},
};
export default props;