youngtailors / react-silk

Seamless components that work on both react web and native
https://youngtailors.github.io/react-silk
MIT License
17 stars 4 forks source link

[react-silk-docs] Warning: 'p' is already defined no-redeclare #22

Open hieuhani opened 5 years ago

hieuhani commented 5 years ago

react-silk-docs: WARNING Compiled with 1 warnings9:33:06 AM react-silk-docs: Module Warning (from /Users/hieuhani/Code/Github/react-silk/node_modules/eslint-loader/index.js): react-silk-docs: /Users/hieuhani/Code/Github/react-silk/packages/react-silk-ui/dist/react-silk-ui.es.js react-silk-docs: 24:25 warning 'p' is already defined no-redeclare react-silk-docs: ✖ 1 problem (0 errors, 1 warning)

jimmyandrade commented 4 years ago

I am experiencing the same with Gatsby consuming a library created with TypeScript + Material UI components:

warn ESLintError: 
packages/web/dist/Components/Avatar/Avatar.js
  36:25  warning  'p' is already defined  no-redeclare