import React, { type ComponentType } from 'react'; import type { SectionNavigatorNavButtonProps } from './SectionNavigator'; import { ListItemLayout } from '../../components/ListItemLayout'; import clsx from 'clsx'; export type ChannelDetailNavButtonProps = SectionNavigatorNavButtonProps & { /** Icon at the start of the button. */ LeadingIcon: ComponentType; /** Section label. */ title: string; }; /** * Button shared by the ChannelDetail section nav buttons: a `ListItemLayout` rendered as a * `