import { SalesChannel } from "@medusajs/medusa" import Button from "../../../fundamentals/button" import Modal from "../../../molecules/modal" import LayeredModal, { useLayeredModal, } from "../../../molecules/modal/layered-modal" import AvailableScreen from "./available-screen" import { SalesChannelsModalContext } from "./use-sales-channels-modal" type Props = { open: boolean source?: SalesChannel[] onClose: () => void onSave: (salesChannels: SalesChannel[]) => void } /** * Re-usable Sales Channels Modal, used for adding and editing sales channels both when creating a new product and editing an existing product. */ const SalesChannelsModal = ({ open, source = [], onClose, onSave }: Props) => { const context = useLayeredModal() return (

Current Sales Channels

) } export default SalesChannelsModal