diff --git a/examples/custom-icon.tsx b/examples/custom-icon.tsx
index 92d0ea850..e2389f6bd 100644
--- a/examples/custom-icon.tsx
+++ b/examples/custom-icon.tsx
@@ -1,4 +1,4 @@
-/* eslint-disable no-console */
+/* eslint-disable no-console, max-classes-per-file */
import React from 'react';
import Select, { Option } from '../src';
import '../assets/index.less';
@@ -22,7 +22,7 @@ const clearPath =
' 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-' +
'28.7 64-64V306c0-35.3-28.7-64-64-64z';
-const menuItemSelectedIcon = props => {
+const menuItemSelectedIcon = (props) => {
const { ...p } = props;
return {p.isSelected ? '🌹' : '☑️'};
};
@@ -33,7 +33,7 @@ const singleItemIcon = (
);
-const getSvg = path => (
+const getSvg = (path) => (