fix(InlineLoading): change error icon to filled
MODIFY
packages/react/src/components/InlineLoading/InlineLoading.js
packages/react/src/components/InlineLoading/InlineLoading.js
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';
@@ -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(() => {

fix(InlineLoading): change error icon to filled (#5018)

Co-authored-by: TJ Egan <tw15egan@gmail.com>
Co-authored-by: Josh Black <josh@josh.black>
Co-authored-by: emyarod <emyarod@users.noreply.github.com>