import {SVGTemplateResult, svg} from 'lit'; export enum PropellerType { none = 'none', cap = 'cap', single = 'single', } function arrowTop(height: number, arrowColor: string) { const y = -height - 22; return svg` `; } export function topPropeller( height: number, arrowColor: string, type: PropellerType ): SVGTemplateResult | null { if (type === PropellerType.none) { return arrowTop(height, arrowColor); } else if (type === PropellerType.cap) { const y = -height - 50 - 1; return svg` `; } else if (type === PropellerType.single) { const y = -height - 50 - 1; return svg` `; } else { return null; } } export function bottomPropeller( height: number, type: PropellerType ): SVGTemplateResult | null { if (type === PropellerType.none) { return null; } else if (type === PropellerType.cap) { const y = height + 1; return svg` `; } else if (type === PropellerType.single) { const y = height + 1; return svg` `; } else { return null; } }