Skip to content

Commit

Permalink
RENAME component
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Feb 14, 2020
1 parent 79c9c43 commit 64cb247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/api/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class ManagerProvider extends Component<ManagerProviderProps, State> {

return (
<ManagerContext.Provider value={value}>
<ManagerConsumerFunc>{children}</ManagerConsumerFunc>
<ManagerConsumer>{children}</ManagerConsumer>
</ManagerContext.Provider>
);
}
Expand All @@ -276,7 +276,7 @@ interface ManagerConsumerProps<P = unknown> {

const defaultFilter = (c: Combo) => c;

function ManagerConsumerFunc<P = Combo>({
function ManagerConsumer<P = Combo>({
// @ts-ignore
filter = defaultFilter,
children,
Expand Down Expand Up @@ -312,7 +312,7 @@ export function useStorybookApi(): API {
}

export {
ManagerConsumerFunc as Consumer,
ManagerConsumer as Consumer,
ManagerProvider as Provider,
StoriesHash,
Story,
Expand Down

0 comments on commit 64cb247

Please sign in to comment.