/* eslint-disable max-len */ import * as React from 'react'; import { CSSProperties, HTMLAttributes, Component } from 'react'; import { ARROW_DIMENSIONS } from '../../../consts'; import { ArrowSize } from '../../../../types'; export interface ArrowProps extends HTMLAttributes { style?: CSSProperties; enabled?: boolean; size?: ArrowSize; } class LeftArrowIcon extends Component { public render() { const { style, enabled = true, size = 'medium', ...props } = this.props; const dynamicStyle = enabled ? arrowEnabled : arrowDisabled; return ( ); } } const arrowStyle: CSSProperties = { cursor: 'pointer', }; const arrowEnabled: CSSProperties = { transition: 'opacity 0.3s ease-in-out, visibility 0.3s ease-in-out', opacity: 1, }; const arrowDisabled: CSSProperties = { transition: 'opacity 0.3s ease-in-out, visibility 0.3s ease-in-out', opacity: 0.4, cursor: 'default', }; export default LeftArrowIcon;