From cb5b4bd1a29e5c93c136e5ef2101da008df8ee13 Mon Sep 17 00:00:00 2001 From: Josh Black Date: Mon, 13 Sep 2021 17:05:54 -0500 Subject: [PATCH] fix(carbon-react): update icons to use icons next, fix docs import (#9653) --- packages/carbon-react/icons/index.js | 2 +- packages/carbon-react/src/components/Icons/Icons.stories.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/carbon-react/icons/index.js b/packages/carbon-react/icons/index.js index 82213de909de..8841f58894d7 100644 --- a/packages/carbon-react/icons/index.js +++ b/packages/carbon-react/icons/index.js @@ -5,4 +5,4 @@ * LICENSE file in the root directory of this source tree. */ -export * from '@carbon/icons-react'; +export * from '@carbon/icons-react/next'; diff --git a/packages/carbon-react/src/components/Icons/Icons.stories.js b/packages/carbon-react/src/components/Icons/Icons.stories.js index 8f97c401d114..1d31ea99ac89 100644 --- a/packages/carbon-react/src/components/Icons/Icons.stories.js +++ b/packages/carbon-react/src/components/Icons/Icons.stories.js @@ -4,9 +4,10 @@ * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ -import React from 'react'; -import { Bee, Bicycle, ChevronUp } from '@carbon/icons-react/next'; + import './Icons.stories.scss'; +import React from 'react'; +import { Bee, Bicycle, ChevronUp } from '../../../icons'; export default { title: 'Elements/Icons',