Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function autoPrefix (style: {}): {} {
const prefixed = addPrefix(style)
// flex only added WebkitFlex. Should add WebkitBoxFlex also.
const flex = prefixed.flex
if (flex) {
prefixed.WebkitBoxFlex = flex
prefixed.MozBoxFlex = flex
prefixed.MsFlex = flex
}
return prefixed
}