Skip to content

Commit

Permalink
arrowRenderer changed to arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-sakharov committed Dec 20, 2017
1 parent d2a3afd commit eb62239
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/defaultArrowRenderer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';

export default function arrowRenderer ({ onMouseDown }) {
const arrowRenderer = ({ onMouseDown }) => {
return (
<span
className="Select-arrow"
Expand All @@ -13,3 +13,5 @@ export default function arrowRenderer ({ onMouseDown }) {
arrowRenderer.propTypes = {
onMouseDown: PropTypes.func,
};

export default arrowRenderer;

0 comments on commit eb62239

Please sign in to comment.