Home > @plasmicapp/loader-react > PlasmicComponentLoader > getActiveVariation
PlasmicComponentLoader.getActiveVariation() method
Signature:
getActiveVariation(opts: {
known?: Record<string, string>;
traits: Record<string, string | number | boolean>;
}): Promise<Record<string, string>>;
Parameters
Parameter | Type | Description |
---|---|---|
opts | { known?: Record<string, string>; traits: Record<string, string | number | boolean>; } |
Returns:
Promise<Record<string, string>>