diff --git a/src/components/NavigationPills/__tests__/__snapshots__/NavigationPills.spec.js.snap b/src/components/NavigationPills/__tests__/__snapshots__/NavigationPills.spec.js.snap index f0ea1c75..1b499f3b 100644 --- a/src/components/NavigationPills/__tests__/__snapshots__/NavigationPills.spec.js.snap +++ b/src/components/NavigationPills/__tests__/__snapshots__/NavigationPills.spec.js.snap @@ -47,27 +47,12 @@ exports[`renders NavigationPills correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
@@ -444,27 +414,12 @@ exports[`renders NavigationPills wihtout label correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
@@ -831,27 +771,12 @@ exports[`renders NavigationPills with each pill's elementAttributes correctly 1` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
@@ -1240,27 +1150,12 @@ exports[`renders NavigationPills with elementAttributes correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
@@ -1639,27 +1519,12 @@ exports[`renders NavigationPills with inner elementAttributes correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
diff --git a/src/components/ScrollTrack/ScrollTrack.js b/src/components/ScrollTrack/ScrollTrack.js index 7c3defb5..2f89ba07 100644 --- a/src/components/ScrollTrack/ScrollTrack.js +++ b/src/components/ScrollTrack/ScrollTrack.js @@ -9,7 +9,7 @@ import ScrollTrackPropTypes from './ScrollTrackPropTypes' import { isNodeEnv } from '../../utils/detectFeature' import debounce from '../../utils/debounce' import CircleButton from '../Buttons/CircleButton' -import Icon from '../Icon/Icon' +import SVGIcon from '../SVGIcon/SVGIcon' const noOp = () => {} // eslint-disable-line no-empty-function @@ -372,7 +372,7 @@ class ScrollTrack extends Component { ]} ref={node => (this.nextButton = node)} > - {nextButtonContent || } + {nextButtonContent || } ) } @@ -397,7 +397,7 @@ class ScrollTrack extends Component { ]} ref={node => (this.backButton = node)} > - {backButtonContent || } + {backButtonContent || } ) } diff --git a/src/components/ScrollTrack/__tests__/__snapshots__/ScrollTrack.spec.js.snap b/src/components/ScrollTrack/__tests__/__snapshots__/ScrollTrack.spec.js.snap index 84acbaf2..6bc567b9 100644 --- a/src/components/ScrollTrack/__tests__/__snapshots__/ScrollTrack.spec.js.snap +++ b/src/components/ScrollTrack/__tests__/__snapshots__/ScrollTrack.spec.js.snap @@ -47,27 +47,12 @@ exports[`renders ScrollTrack correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
@@ -227,27 +197,12 @@ exports[`renders ScrollTrack with animation props correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />
- -  - + fill="currentColor" + height="18px" + width="18px" + />
@@ -495,27 +435,12 @@ exports[`renders custom ScrollTrack buttons correctly 1`] = ` } } > - -  - + fill="currentColor" + height="18px" + width="18px" + />