Skip to main content

NativeElementModel

export
type NativeElementModel<
  T extends string,
  C
> = any

Fields

category

category: C;

getMixedUAStyles

getMixedUAStyles?: function __type(
  tnode: TNodeDescriptor,
  element: Element
) : void
  | MixedStyleDeclaration
  | null
  | undefined;

getReactNativeProps

getReactNativeProps?: function __type(
  tnode: ExtractTNodeFromType<TNodeType>,
  preGeneratedProps: ReactNativePropsSwitch | null,
  element: Element
) : void
  | ReactNativePropsDefinitions
  | null
  | undefined;

getUADerivedStyleFromAttributes

getUADerivedStyleFromAttributes?: function __type(
  attributes: Record<string, string>,
  markers: Markers
) : MixedStyleDeclaration | null;

isOpaque

isOpaque?: boolean;

isVoid

isVoid?: boolean;

mixedUAStyles

mixedUAStyles?: MixedStyleDeclaration;

reactNativeProps

reactNativeProps?: ReactNativePropsDefinitions;

setMarkersForTNode

setMarkersForTNode?: SetMarkersForTNode;

tagName

tagName: T;