import { SalesChannel } from "@medusajs/medusa" import Tooltip from "../../atoms/tooltip" import IconBadge from "../../fundamentals/icon-badge" import ChannelsIcon from "../../fundamentals/icons/channels-icon" type Props = { salesChannels: SalesChannel[] showMax?: number } const SalesChannelsList = ({ salesChannels, showMax = 3 }: Props) => { const truncateSalesChannels = salesChannels.length > showMax return (