import { PropType } from "vue";

export const basicProps = {
  // 标签宽度
  labelWidth: {
    type: [Number, String] as PropType<number | string>,
    default: '70px',
  },
  // 标签样式
  labelStyle: {
    type: [Object, String] as PropType<Object | string>,
    default: '',
  },
  // 样式
  style: {
    type: [Object] as PropType<Object>,
    default: {}
  },
  // 标签
  label: {
    type: String as PropType<string>,
    default: ''
  },
  // 标签
  placement: {
    type: String as PropType<'left' | 'bottom'>,
    default: 'left'
  },
  // 标签
  labelBorder: {
    type: Boolean as PropType<boolean>,
    default: false
  },
  // 标签
  required: {
    type: Boolean as PropType<boolean>,
    default: false
  }
}