Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
"@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",

...

clone Clone the github repo for other common components

Components that we are reusing -

  1. FormComposer

...

  1. ActionBar

...

  1. Banner

...

  1. Card

...

  1. CardText

...

  1. Loader

...

  1. SubmitBar

...

  1. AppContainer

...

  1. BackButton

...

  1. PrivateRoute

...

  1. Icons

...

  1. CitizenHomecard

...