antd 3

[Ant Design] 앤트디자인 아이콘 에러/미표시 문제

앤트디자인 에러(Ant Design Error) Attempted import error: 'Icon' is not exported from 'antd'. Attempted import error: 'Icon' is not exported from 'antd'. 방법 1. antd 재설치 및 코드 수정 [오류해결] 'Icon' is not exported from 'antd' 위와 같은 오류가 뜨기 시작. Attempted import error: '@ant-.. shinye0213.tistory.com 앤트디자인 에러(Ant Design Error) Warning: [@ant-design/icons] Should have `component` prop or `children`. Warning: [@an..

개발(Web)/Web 2021.03.10

[Ant Design] Warning: [@ant-design/icons] Should have `component` prop or `children`.

앤트디자인 에러(Ant Design Error) Attempted import error: 'Icon' is not exported from 'antd'. Attempted import error: 'Icon' is not exported from 'antd'. 방법 1. antd 재설치 및 코드 수정 [오류해결] 'Icon' is not exported from 'antd' 위와 같은 오류가 뜨기 시작. Attempted import error: '@ant-.. shinye0213.tistory.com Warning: [@ant-design/icons] Should have `component` prop or `children`. 방법 2. 설치 명령어 변경 ant-design icon, button ..

개발(Web)/Web 2021.02.25

[Ant Design] Attempted import error: 'Icon' is not exported from 'antd'.

Attempted import error: 'Icon' is not exported from 'antd'. 방법 1. antd 재설치 및 코드 수정 [오류해결] 'Icon' is not exported from 'antd' 위와 같은 오류가 뜨기 시작. Attempted import error: '@ant-design/icons' does not contain a default export (imported as 'Icon'). 해결방법 기존으로 import 해오던 방식이 아닌 import Icon from '@ant.. iancoding.tistory.com import React, { useState } from 'react'; import Icon from '@ant-design/icons'; fu..

개발(Web)/Web 2021.02.20
반응형