Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

19 righe
452 B

  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;