Viewing File: /home/ubuntu/route-and-root-frontend-base/node_modules/react-image-gallery/src/controls/LeftNav.js
import React from 'react';
import { bool, func } from 'prop-types';
import SVG from 'src/SVG';
const LeftNav = React.memo(({
disabled,
onClick,
}) => {
return (
<button
type="button"
className="image-gallery-icon image-gallery-left-nav"
disabled={disabled}
onClick={onClick}
aria-label="Previous Slide"
>
<SVG icon="left" viewBox="6 0 12 24" />
</button>
);
});
LeftNav.displayName = 'LeftNav';
LeftNav.propTypes = {
disabled: bool.isRequired,
onClick: func.isRequired,
};
export default LeftNav;
Back to Directory
File Manager