UNPKG

fui-fancyui

Version:
26 lines (25 loc) 505 B
const o = (t) => { switch (t) { case "left": return "to right"; case "right": return "to left"; case "top": return "to bottom"; case "bottom": return "to top"; case "top-left": return "to bottom right"; case "top-right": return "to bottom left"; case "bottom-left": return "to top right"; case "bottom-right": return "to top left"; default: return "to bottom"; } }; export { o as getLinearGradientPosition };