material-ui-search-bar icon indicating copy to clipboard operation
material-ui-search-bar copied to clipboard

It is not working with latest version of @mui-material

Open yashaswinibprasad87 opened this issue 3 years ago • 4 comments

Provide a solution to work with v5.xxx

yashaswinibprasad87 avatar Dec 10 '21 05:12 yashaswinibprasad87

+1. Please help!!

mayuri2307 avatar Feb 12 '22 14:02 mayuri2307

Module not found: Can't resolve '@material-ui/icons/Clear' vs what v5 has @mui/icons-material/Clear

umakantp avatar Jun 25 '22 05:06 umakantp

Hi, i think changing the SearchBar.js content changing will solve the issue. Like below. line 18-line 20. to the newest mui content

But somehow, i get the same error... I would like your help to solve this issue.

var _Clear = _interopRequireDefault(require('@mui/icons-material/Clear'));

var _Search = _interopRequireDefault(require('@mui/icons-material/Search'));

rashearth avatar Sep 19 '22 08:09 rashearth

I had to make this search-bar compatible with react-18 and mui-v5 so I updated.

https://gist.github.com/hongz1/8368c79690b8bdfe5a86f686e3257134

hongz1 avatar Mar 10 '23 18:03 hongz1