sebikostudio-icons
Version:
A collection of icon components
13 lines (8 loc) • 802 B
JavaScript
import React, { forwardRef } from 'react';
export const SwitchIcon = forwardRef(({ className, style, ariaLabel, ...props }, ref) => (
<svg ref={ref} className={className} aria-label={ariaLabel || "switch, component"} style={style} width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path d="M1.5 10C1.5 7.51472 3.51472 5.5 6 5.5H14C16.4853 5.5 18.5 7.51472 18.5 10C18.5 12.4853 16.4853 14.5 14 14.5H6C3.51472 14.5 1.5 12.4853 1.5 10Z" stroke="currentColor"/>
<path d="M16.5 10C16.5 8.61929 15.3807 7.5 14 7.5C12.6193 7.5 11.5 8.61929 11.5 10C11.5 11.3807 12.6193 12.5 14 12.5C15.3807 12.5 16.5 11.3807 16.5 10Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
));
export default SwitchIcon;