The unique identifier for the style.
The style data to be added.
Optional
merge: booleanIf true, merges with an existing style.
Configures the style registry, setting up necessary resolution information. This method is called by the framework to initialize the registry with device-specific settings.
Retrieves a style by its key, resolving nested references as needed.
The key for the style to retrieve.
Optional
isNested: booleanIndicates if the style is nested.
Optional
seenStyles: Record<string, boolean>A record of seen styles to prevent circular references.
The resolved style.
Resolves the style for a given row, applying any overrides.
The row for which to resolve the style.
Optional
sectionKey: stringSets the initial JSON with all styles, clearing any cached styles.
The JSON containing all styles.
Adds a single style to the registry, with an option to merge with existing styles.