Skip to content

Commit

Permalink
@mui/icons-materialを必要な部分だけ読み込んでtree-shaking
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Mar 23, 2024
1 parent a556492 commit 3d9c08c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion workspaces/app/src/features/icons/components/SvgIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import * as Icons from '@mui/icons-material';
import { ArrowBack, Close, Favorite, FavoriteBorder, NavigateNext, Search } from '@mui/icons-material';

const Icons = {
ArrowBack,
Close,
Favorite,
FavoriteBorder,
NavigateNext,
Search,
};

type Props = {
color: string;
Expand Down

0 comments on commit 3d9c08c

Please sign in to comment.