UNPKG

@carbon/react

Version:

React components for the Carbon Design System

21 lines (17 loc) 841 B
/** * Copyright IBM Corp. 2016, 2023 * * 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 { deprecateFieldOnObject } from '../../internal/deprecateFieldOnObject.js'; import ContainedList from './ContainedList.js'; import ContainedListItem from './ContainedListItem/ContainedListItem.js'; if (process.env.NODE_ENV !== 'production') { // @ts-expect-error - This component did not have a `displayName` before it // was properly typed. After adding proper typing, a type error appears here. // The warning logged to the console includes `undefined` because no // `displayName` is set. deprecateFieldOnObject(ContainedList, 'ContainedListItem', ContainedListItem); } export { ContainedList, ContainedListItem, ContainedList as default };