diff --git a/packages/di/README.md b/packages/di/README.md index c4e8644b..f9e360d0 100644 --- a/packages/di/README.md +++ b/packages/di/README.md @@ -138,26 +138,26 @@ export const App = () => ( Now the dependencies can be injected based on the currently used registry -with `ComponentRegistryConsumer` +with `RegistryConsumer` ```tsx import React from 'react' import { cn } from '@bem-react/classname' -import { ComponentRegistryConsumer } from '@bem-react/di' +import { RegistryConsumer } from '@bem-react/di' // No Header or Footer imports const cnApp = cn('App') export const App = () => ( - + {({ Header, Footer }) => ( <>