Import Required Components
Last updated
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
DIGIT comes with common re-usable libraries that can be imported for use in a new module. This page provides the steps on importing the required components.
CSS , libraries , common , react components can be imported by adding into package.json.
Common components live in micro-ui/web/micro-ui-internals/packages/react-components
micro-ui/web/micro-ui-internals/packages/css
DIGIT components that we are reusing -
FormComposer
ActionBar
Banner
Card
CardText
Loader
SubmitBar
AppContainer
BackButton
PrivateRoute
Icons
CitizenHomecard