iconoir/packages/iconoir-react-native/src/NintendoSwitch.tsx
2022-04-23 13:48:44 +00:00

40 lines
982 B
TypeScript

import * as React from 'react';
import Svg, { SvgProps, Path } from 'react-native-svg';
function SvgNintendoSwitch(
props: SvgProps,
svgRef?: React.Ref<React.Component<SvgProps>>
) {
return (
<Svg
width="1.5em"
height="1.5em"
viewBox="0 0 24 24"
strokeWidth={1.5}
fill="none"
color="currentColor"
ref={svgRef}
{...props}
>
<Path
d="M2 17V7a4 4 0 014-4h3.9a.6.6 0 01.6.6v16.8a.6.6 0 01-.6.6H6a4 4 0 01-4-4z"
stroke="currentColor"
/>
<Path
d="M6.5 8a1 1 0 100-2 1 1 0 000 2zM17.5 14a1 1 0 100-2 1 1 0 000 2z"
fill="currentColor"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
<Path
d="M22 17V7a4 4 0 00-4-4h-3.9a.6.6 0 00-.6.6v16.8a.6.6 0 00.6.6H18a4 4 0 004-4z"
stroke="currentColor"
/>
</Svg>
);
}
const ForwardRef = React.forwardRef(SvgNintendoSwitch);
export default ForwardRef;