Skip to content

Type Alias: RCustomFieldProps

ts
type RCustomFieldProps = ExtractPublicPropTypes<
  ReturnType<typeof makeRCustomFieldProps>
> &
  EmitHandlerProps<CastToEmitValidators<typeof rCustomFieldEmits>>;

Type definition for RCustomField component props.

Combines all VInput and VField props with custom field-specific properties and emit handler props. This comprehensive type ensures full type safety for both component usage and custom field implementations.

Example

typescript
const props: RCustomFieldProps = {
  modelValue: "custom value",
  label: "Custom Field",
  variant: "outlined",
  autofocus: true,
  prefix: "$",
  suffix: ".00",
};