1.0.7 • Published 5 months ago
@crossnative/insurance-component v1.0.7
Quickstart
To get started:
npm iScripts
startruns your app for developmentbuildbuilds your app and outputs it in yourdistdirectory
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;1.0.2
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago
1.0.7
5 months ago
1.0.5
7 months ago
1.0.4
7 months ago
1.0.3
7 months ago
0.3.0
9 months ago
0.3.2
8 months ago
0.3.1
9 months ago
0.3.4
8 months ago
0.3.3
8 months ago
0.2.1
1 year ago
0.2.0
1 year 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