-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
* This file was automatically generated with @twilio-labs/svg-to-react | ||
*/ | ||
import * as React from 'react'; | ||
import {UID} from 'react-uid'; | ||
import {IconWrapper, IconWrapperProps} from './helpers/IconWrapper'; | ||
|
||
export interface ChevronUpIconProps extends IconWrapperProps { | ||
title?: string; | ||
decorative: boolean; | ||
} | ||
|
||
const ChevronUpIcon: React.FC<ChevronUpIconProps> = ({as, size, iconColor, title, decorative}) => { | ||
if (!decorative && title == null) { | ||
throw new Error('[ChevronUpIcon]: Missing a title for non-decorative icon.'); | ||
} | ||
|
||
return ( | ||
<IconWrapper as={as} size={size} iconColor={iconColor}> | ||
<UID> | ||
{uid => ( | ||
<svg role="img" aria-hidden={decorative} aria-labelledby={uid} width="100%" height="100%" viewBox="0 0 24 24"> | ||
{title ? <title id={uid}>{title}</title> : null} | ||
<path | ||
fill="currentColor" | ||
fillRule="evenodd" | ||
d="M11.628 10.166a.5.5 0 01.672-.066l.072.066 4.5 5a.5.5 0 01-.678.73l-.066-.062L12 11.247l-4.127 4.587a.5.5 0 01-.634.092l-.072-.054a.5.5 0 01-.092-.634l.054-.072 4.5-5z" | ||
/> | ||
</svg> | ||
)} | ||
</UID> | ||
</IconWrapper> | ||
); | ||
}; | ||
|
||
ChevronUpIcon.displayName = 'ChevronUpIcon'; | ||
export {ChevronUpIcon}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.