25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

TransferListWrapper.tsx 452 B

1 yıl önce
1 yıl önce
1 yıl önce
123456789101112131415161718
  1. "use client";
  2. import React from "react";
  3. import TransferList, { TransferListProps } from "./TransferList";
  4. import MultiSelectList from "./MultiSelectList";
  5. import useIsMobile from "../utils/useIsMobile";
  6. const TransferListWrapper: React.FC<TransferListProps> = (props) => {
  7. const matches = useIsMobile();
  8. return !matches ? (
  9. <TransferList {...props} />
  10. ) : (
  11. <MultiSelectList {...props} />
  12. );
  13. };
  14. export default TransferListWrapper;