1 line
98 B
JavaScript
1 line
98 B
JavaScript
export default function getMainAxisFromPlacement(t){return 0<=["top","bottom"].indexOf(t)?"x":"y"} |