import { computed } from 'vue' import { useFormInput } from '../../../hooks/form-input' import { formInputProps, fromInputEmits } from '../../form-input-props' export default { props: formInputProps, emits: [...fromInputEmits], setup (props, context) { const { width } = useFormInput(props, context) const fontWeight = computed(() => { return props.config.fontWeight ?? 'normal' }) const fontSize = computed(() => { return props.config.fontSize + 'px' ?? '12px' }) const textAlign = computed(() => { return props.config.textAlign ?? 'left' }) return () =>
{props.modelValue}
} }