您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

19 行
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;