Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/index_d_ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
renderPlaceHolderEmptyList?: (props: void) => React.ReactNode;
}

export interface ChannelListProps extends ChannelListProviderInterface, ChannelListUIProps {}
export interface ChannelListProps extends ChannelListProviderProps, ChannelListUIProps {}

export interface ChannelListHeaderInterface {
renderHeader?: (props: void) => React.ReactNode;
Expand Down Expand Up @@ -379,7 +379,7 @@
}

export type ChannelSettingsContextProps = {
children: React.ReactNode;
children?: React.ReactNode;
channelUrl: string;
className?: string;
onCloseClick?(): void;
Expand Down
4 changes: 2 additions & 2 deletions src/smart-components/ChannelList/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';
import {
ChannelListProvider,
ChannelListProviderInterface,
ChannelListProviderProps,
} from './context/ChannelListProvider';

import ChannelListUI, { ChannelListUIProps } from './components/ChannelListUI';

interface ChannelListProps extends ChannelListProviderInterface, ChannelListUIProps {}
interface ChannelListProps extends ChannelListProviderProps, ChannelListUIProps {}

const ChannelList: React.FC<ChannelListProps> = (props: ChannelListProps) => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface ChannelSettingsQueries {
}

export type ChannelSettingsContextProps = {
children: React.ReactNode;
children?: React.ReactNode;
channelUrl: string;
className?: string;
onCloseClick?(): void;
Expand Down