From 0d4ec1e433753868eb373262339741e90498af00 Mon Sep 17 00:00:00 2001 From: Minsu Kim Date: Sun, 28 Jan 2024 17:53:55 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Icon=EC=9D=84=20=EB=92=A4=EC=97=90=20?= =?UTF-8?q?=EB=B6=99=EC=9D=B4=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/preview/src/App.tsx | 74 ++++++++++++++--------------- packages/ui/src/components/index.ts | 47 +++++++++++++++++- 2 files changed, 82 insertions(+), 39 deletions(-) diff --git a/apps/preview/src/App.tsx b/apps/preview/src/App.tsx index c1da9b82..db61460b 100644 --- a/apps/preview/src/App.tsx +++ b/apps/preview/src/App.tsx @@ -1,24 +1,24 @@ import { Badge, Button, TextButton, ThemeProvider, Icon } from '@boolti/ui'; import { - Apple, - ArrowLeft, - ArrowRight, - Calendar, - ChevronLeft, - ChevronRight, - Clock, - Close, - Edit, - Github, - Instagram, - Kakaotalk, - Plus, - Search, - Ticket, - UpDown, - Users, - Wallet, -} from '@boolti/ui/src/components/Icon'; + AppleIcon, + ArrowLeftIcon, + ArrowRightIcon, + CalendarIcon, + ChevronLeftIcon, + ChevronRightIcon, + ClockIcon, + CloseIcon, + EditIcon, + GithubIcon, + InstagramIcon, + KakaotalkIcon, + PlusIcon, + SearchIcon, + TicketIcon, + UpDownIcon, + UsersIcon, + WalletIcon, +} from '@boolti/ui'; const App = () => { return ( @@ -219,24 +219,24 @@ const App = () => { 공연 종료
- - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
diff --git a/packages/ui/src/components/index.ts b/packages/ui/src/components/index.ts index 73959202..d11717b2 100644 --- a/packages/ui/src/components/index.ts +++ b/packages/ui/src/components/index.ts @@ -2,6 +2,49 @@ import ThemeProvider from './ThemeProvider'; import Button from './Button'; import TextButton from './TextButton'; import Badge from './Badge'; -import Icon from './Icon'; +import Icon, { + Apple, + Github, + Instagram, + Kakaotalk, + Ticket, + Wallet, + Users, + Edit, + Calendar, + Clock, + Search, + UpDown, + ChevronRight, + ChevronLeft, + ArrowLeft, + ArrowRight, + Plus, + Close, +} from './Icon'; -export { ThemeProvider, Button, TextButton, Badge, Icon }; +export { + ThemeProvider, + Button, + TextButton, + Badge, + Icon, + Apple as AppleIcon, + Github as GithubIcon, + Instagram as InstagramIcon, + Kakaotalk as KakaotalkIcon, + Ticket as TicketIcon, + Wallet as WalletIcon, + Users as UsersIcon, + Edit as EditIcon, + Calendar as CalendarIcon, + Clock as ClockIcon, + Search as SearchIcon, + UpDown as UpDownIcon, + ChevronRight as ChevronRightIcon, + ChevronLeft as ChevronLeftIcon, + ArrowLeft as ArrowLeftIcon, + ArrowRight as ArrowRightIcon, + Plus as PlusIcon, + Close as CloseIcon, +};