1.1.0 • Published 6 months ago
@ponomareva/dr-component-library v1.1.0
Getting Started (Development)
Run Project
First, run the primereact designer by:
npm start
This should install npm packages, start project an open http://localhost:6001 in your browser to see the result.
Second, run storybook by:
npm run storybook
Open http://localhost:6006 with your browser to see the result.
Current selection of custom Themes for Primereact designer
- at src/app/index.js -> selectCustom
Choose theme to use for storybook
Go to .storybook/preview.js and change theme
Create new components and stories
Go to src/stories and add new components and stories for testing
Supported types
- js|jsx
- ts|tsx