GT2/Ejectable/node_modules/inline-style-prefixer/es/plugins/flex.js

10 lines
357 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
var values = {
flex: ['-webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex'],
'inline-flex': ['-webkit-inline-box', '-moz-inline-box', '-ms-inline-flexbox', '-webkit-inline-flex', 'inline-flex']
};
export default function flex(property, value) {
if (property === 'display' && values.hasOwnProperty(value)) {
return values[value];
}
}