import type * as React from 'react'; import { SvgIcon, IconCommonProps } from './SvgIcon'; import classNames from 'classnames'; import { t } from '../i18n'; export type ArrowIconDirectionType = 'up' | 'down' | 'left' | 'right'; export interface ArrowIconProps extends IconCommonProps { direction?: ArrowIconDirectionType; } const defaultProps = { className: '', direction: 'right', viewBox: '0 0 320 512', }; export function ArrowIcon(props: ArrowIconProps): React.ReactElement { const direction = props.direction || defaultProps.direction; const iconCssClasses = classNames( 'ds-c-icon--arrow', `ds-c-icon--arrow-${direction}`, props.className ); return ( ); }