import type { FC } from 'react'; import { ArrowIconPaths, type ArrowOrientation, CCBySAIconPaths, CareerIconPaths, CogIconPaths, ComputerIconPaths, EnvelopIconPaths, FeedIconPaths, HomeIconPaths, MagnifyingGlassIconPaths, MoonIconPaths, PostsStackIconPaths, SunIconPaths, CrossIconPaths, HelpIconPaths, } from './icons-paths'; export type SVGIconOrientation = ArrowOrientation; export type SVGIconShape = | 'arrow' | 'career' | 'cc-by-sa' | 'cog' | 'computer' | 'cross' | 'envelop' | 'feed' | 'help' | 'home' | 'magnifying-glass' | 'moon' | 'posts-stack' | 'sun'; export type SVGPathsProps = { /** * The icon orientation. Only used with arrow icon. * * @default 'right' */ orientation?: SVGIconOrientation; /** * The icon shape. */ shape: SVGIconShape; }; export const SVGPaths: FC = ({ orientation = 'right', shape, }) => { switch (shape) { case 'arrow': return ; case 'career': return ; case 'cc-by-sa': return ; case 'cog': return ; case 'computer': return ; case 'cross': return ; case 'envelop': return ; case 'feed': return ; case 'help': return ; case 'home': return ; case 'magnifying-glass': return ; case 'moon': return ; case 'posts-stack': return ; case 'sun': default: return ; } };