Skip to content

Type Alias: RBooleanField

ts
type RBooleanField = typeof RBooleanField & ComponentPublicInstance;

Component type for the RBooleanField. Represents the complete boolean/ternary field component with configurable logic support, multiple rendering variants, and unified field architecture integration. Use this type for component references, template refs, and programmatic component manipulation.

Example

typescript
// Template ref typing
const booleanFieldRef = ref<RBooleanField>();

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

// Programmatic component usage
const createBooleanField = (): RBooleanField => {
  return RBooleanField;
};