0.2.1 • Published 10 months ago

@crossnative/insurance-component v0.2.1

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Quickstart

To get started:

npm i

Scripts

  • start runs your app for development
  • build builds your app and outputs it in your dist directory

Integration in Angular

Installation

To integrate the insurance component in an Angular project, follow these steps:

Install the package with npm i @crossnative/insurance-component

Basic Usage

  • Import the component
    import '@crossnative/insurance-component/angular';
  • Add schemas: [CUSTOM_ELEMENTS_SCHEMA] to the Angular Component:
    @Component({
      selector: 'my-component',
      standalone: true,
      schemas: [CUSTOM_ELEMENTS_SCHEMA],
        imports: [
            Button,
            CardModule,
            DividerModule,
            NgForOf,
            NgIf
        ],
      templateUrl: './my-component.html',
      styleUrl: './my-component.scss'
    })
  • Use the component in the HTML template like this:
    <insurance-component-sj></insurance-component-sj>

Integration in React

Installation

To integrate the insurance component in an Angular project, follow these steps:

Install the package with npm i @crossnative/insurance-component

Basic Usage

Import the Component:

import { InsuranceComponentSjReact } from 'insurance-component/react';

Now you can use InsuranceComponentSjReact like any other react component:

import { InsuranceComponentReact } from 'insurance-component/react';
import React, { useState } from 'react';

const MyApp = () => {
  return (
    <div>
      <InsuranceComponentSjReact></InsuranceComponentSjReact>
    </div>
  );
};

export default MyApp;
0.2.1

10 months ago

0.2.0

10 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago

0.0.4

11 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago