マテリアルUI反作用設定
import { Hidden } from '@material-ui/core';
import DesktopView from './Desktop';
import MobileView from './Mobile';
...
<Layout>
{/* 모바일 설정 */}
<Hidden mdUp implementation="js">
<MobileView list={users} query={query} setQuery={setQuery} />
</Hidden>
{/* 데스크탑 설정 */}
<Hidden smDown implementation="js">
<DesktopView list={data.filter((item) => item.code === query.tab)} query={query} setQuery={setQuery} />
</Hidden>
</Layout>
Reference
この問題について(マテリアルUI反作用設定), 我々は、より多くの情報をここで見つけました https://velog.io/@poburi/material-UI-반응형-설정テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol