template-react-component-library icon indicating copy to clipboard operation
template-react-component-library copied to clipboard

A component library for React

Results 11 template-react-component-library issues
Sort by recently updated
recently updated
newest added

Issue is fixed when adding `"rootDir": "src"` in `tsconfig.json` file.

I created a similar template which is more up to date: https://github.com/morewings/react-library-template. I update dependencies every month.

When i add Material UI component and try to use component in another react project, it throw Error Regarding hooks. Uncaught Error: Invalid hook call. Hooks can only be called...

Env used: ``` "rollup": "^3.22.0", "typescript": "5.0.4", "react": "^18.2.0" // as peer dependency ``` Whenever I am using a hook inside any component of the created library it throws the...

Just cloned the project, ran `npm i && npm run rollup` ``` (!) Plugin typescript: @rollup/plugin-typescript TS4023: Exported variable 'LoggedOut' has or is using name 'PageProps' from external module "/Users/maximelechevallier/Documents/MyProjects/template-react-component-library/src/stories/Page"...

After following the guide for adding Typescript [here](https://github.com/alexeagleson/template-react-component-library#adding-typescript) I was still getting the following error when trying to import from a CSS module ``` (!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot...

The introduction page in storybook seems to be broken and always rendered as blank: This seems to be coming from MDXv2 support not set up properly. Following the instruction in:...

awesome article and repo! Just missing one library ``` "react-dom": "^17.0.2", ``` Once I installed it, then I could run storybook