UNPKG

motion

Version:

The Motion library for the web

11 lines (9 loc) 288 B
function resolvePose(definition, inheritedDefinition, poses = {}) { if (definition) { return typeof definition === "string" ? poses[definition] : definition; } else if (inheritedDefinition) { return poses[inheritedDefinition]; } } export { resolvePose };