const {withText} = KalturaPlayer.ui.preacti18n; const {Icon} = KalturaPlayer.ui.components; import {Icon as IconPath} from 'types'; enum ARROW_TYPE { LEFT = 'left', RIGHT = 'right' } interface PaginationArrowProps { onClick?: () => void; disabled?: boolean; type?: ARROW_TYPE; prev?: string; next?: string; } const DISABLED_COLOR = '#888'; const PaginationArrow = withText({ prev: 'playlist.prev', next: 'playlist.next' })(({onClick, disabled, type, prev, next}: PaginationArrowProps) => { return ( ); }); /** * Left pagination arrow. * * @param {object} props Component props. * @param {Function} props.onClick onClick event handler. */ const ArrowLeft = ({onClick}: PaginationArrowProps) => ; /** * Disabled left pagination arrow. */ const ArrowLeftDisabled = () => ; /** * Right pagination arrow. * * @param {object} props Component props. * @param {Function} props.onClick onClick event handler. */ const ArrowRight = ({onClick}: PaginationArrowProps) => ; /** * Disabled Right pagination arrow. */ const ArrowRightDisabled = () => ; export {ArrowLeft, ArrowLeftDisabled, ArrowRight, ArrowRightDisabled};