jsx import { jsx } from '@emotion/core' ; import { ArrowProps , rotation } from './ArrowIcon' ; import { SVGIcon } from './SVGIcon' ; export const ChevronIcon = ( { direction = 'right' , ... props } ) => ( < SVGIcon realWidth = { 5 } realHeight = { 8 } { ... props } > < path transform = { `rotate(${ rotation [ direction ] } 3 4)` } d = "M0 .92L.94 0 5 4 .94 8 0 7.08 3.13 4z" / > < /SVGIcon>);