Skip to content

Commit

Permalink
fix(InlineLoading): change error icon to filled (#5018)
Browse files Browse the repository at this point in the history
Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: Josh Black <[email protected]>
Co-authored-by: emyarod <[email protected]>
  • Loading branch information
4 people committed Jan 23, 2020
1 parent fd62200 commit 2f9ffa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/InlineLoading/InlineLoading.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { CheckmarkFilled16, Error20 } from '@carbon/icons-react';
import { CheckmarkFilled16, ErrorFilled16 } from '@carbon/icons-react';
import { settings } from 'carbon-components';
import deprecate from '../../prop-types/deprecate';
import Loading from '../Loading';
Expand All @@ -28,7 +28,7 @@ export default function InlineLoading({
const loadingClasses = classNames(`${prefix}--inline-loading`, className);
const getLoading = () => {
if (status === 'error') {
return <Error20 className={`${prefix}--inline-loading--error`} />;
return <ErrorFilled16 className={`${prefix}--inline-loading--error`} />;
}
if (status === 'finished') {
setTimeout(() => {
Expand Down

0 comments on commit 2f9ffa6

Please sign in to comment.