Skip to content

Type Alias: RStringField

ts
type RStringField = typeof RStringField & ComponentPublicInstance;

Component type for the RStringField. Represents the complete string field component with all format support, unified field architecture integration, and comprehensive slot handling. Use this type for component references, template refs, and programmatic component manipulation.

Example

typescript
// Template ref typing
const stringFieldRef = ref<RStringField>();

// Component type checking
const isStringField = (component: unknown): component is RStringField => {
  return component?.name === "RStringField";
};

// Programmatic component usage
const createStringField = (): RStringField => {
  return RStringField;
};