0.2.1 • Published 11 months ago

@crossnative/insurance-component v0.2.1

Weekly downloads
-
License
-
Repository
-
Last release
11 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

11 months ago

0.2.0

11 months ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago