diff --git a/lib/api/src/index.tsx b/lib/api/src/index.tsx index fe5163860c6e..62848ab2fb31 100644 --- a/lib/api/src/index.tsx +++ b/lib/api/src/index.tsx @@ -263,7 +263,7 @@ class ManagerProvider extends Component { return ( - {children} + {children} ); } @@ -276,7 +276,7 @@ interface ManagerConsumerProps

{ const defaultFilter = (c: Combo) => c; -function ManagerConsumerFunc

({ +function ManagerConsumer

({ // @ts-ignore filter = defaultFilter, children, @@ -312,7 +312,7 @@ export function useStorybookApi(): API { } export { - ManagerConsumerFunc as Consumer, + ManagerConsumer as Consumer, ManagerProvider as Provider, StoriesHash, Story,