diff --git a/UNRELEASED.md b/UNRELEASED.md index bb65e5cf3aa..4f64b08343f 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -34,6 +34,8 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f ### Development workflow +- Update subcomponents to use named exports for components and better names props exports ([#2058](https://github.com/Shopify/polaris-react/pull/2058)) + ### Dependency upgrades ### Code quality diff --git a/src/components/ResourceList/ResourceList.tsx b/src/components/ResourceList/ResourceList.tsx index 53b34df3532..31e62be3801 100644 --- a/src/components/ResourceList/ResourceList.tsx +++ b/src/components/ResourceList/ResourceList.tsx @@ -25,6 +25,7 @@ import { BulkActions, BulkActionsProps, CheckableButton, + // eslint-disable-next-line import/no-deprecated FilterControl, } from './components'; @@ -88,6 +89,7 @@ type CombinedProps = Props & WithAppProviderProps; class ResourceList extends React.Component { static Item = ResourceItem; + // eslint-disable-next-line import/no-deprecated static FilterControl = FilterControl; private defaultResourceName: {singular: string; plural: string};