/* @flow */exportdefaultfunctiongetTransitionTimeMs(heightTransition: string): number {
const m = /(\d+(?:\.\d+)?|\.\d+)(m?s)\b/i.exec(heightTransition);
if (!m) thrownewError('Could not parse time from transition value');
returnNumber(m[1]) * (m[2].length === 1 ? 1000 : 1);
}