/
Import required components

Import required components

In Birth-Registration (or any other module ) we need to import common libraries and components so we can reuse that components in our code.
we need to import CSS , libraries , common , react components we need to import as see in below image we need to add it into package.json.

"@egovernments/digit-ui-css": "1.5.3", "@egovernments/digit-ui-libraries":"1.5.3", "@egovernments/digit-ui-module-common":"1.5.3", "@egovernments/digit-ui-module-br":"1.5.4", "@egovernments/digit-ui-module-dss":"1.5.3", "@egovernments/digit-ui-react-components":"1.5.3",
web/package.json

Clone the github repo for other common components

Components that we are reusing -

  1. FormComposer

  2. ActionBar

  3. Banner

  4. Card

  5. CardText

  6. Loader

  7. SubmitBar

  8. AppContainer

  9. BackButton

  10. PrivateRoute

  11. Icons

  12. CitizenHomecard










Related content

Add Module Code for Birth-Registration
Add Module Code for Birth-Registration
More like this
Module Code
More like this
Customizing Frontend/UI
Customizing Frontend/UI
Read with this
Project Structure
Project Structure
More like this
Install Dependency
Install Dependency
Read with this
DIGIT UI: Implementation - Development Guidelines & FAQs
DIGIT UI: Implementation - Development Guidelines & FAQs
More like this