Skip to content

Commit

Permalink
fix(icons): adds chevron down icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsamp authored Mar 4, 2021
2 parents 384e92b + e9b525c commit 0834d03
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/icons/ChevronDownIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import React from "react";
import { IconProps } from "../../types";
export default function ChevronDownIcon(props: IconProps) {
const {
title = "Chevron-down-icon",
size,
color,
width,
height,
titleId,
} = props;
return (
<svg
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
width={size || width || "20px"}
height={size || height || "20px"}
role="img"
aria-labelledby={titleId}
{...props}
>
{title ? <title id={titleId}>{title}</title> : null}
<path
d="M6 9l6 6 6-6"
stroke={color || "var(--expo-color-theme-icon-default)"}
strokeWidth={2}
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
1 change: 1 addition & 0 deletions src/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export { default as AppleIcon } from './AppleIcon'
export { default as BellIcon } from './BellIcon'
export { default as BuildIcon } from './BuildIcon'
export { default as ChannelIcon } from './ChannelIcon'
export { default as ChevronDownIcon } from './ChevronDownIcon'
export { default as CloudSlashIcon } from './CloudSlashIcon'
export { default as DiscordIcon } from './DiscordIcon'
export { default as DownloadIcon } from './DownloadIcon'
Expand Down
3 changes: 3 additions & 0 deletions src/svg/chevron-down-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0834d03

Please sign in to comment.