import { computed } from 'vue'
import tableRadio from './index'
import { formInputViewProps } from '../../form-input-props'
export default {
  props: formInputViewProps,
  setup (props) {
    const viewConfig = computed(() => {
      return { ...props.config, disabled: true }
    })
    return () => <tableRadio {...props} config={viewConfig.value} />
  }
}
