1.0.7 • Published 9 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
10 months ago
1.0.1
10 months ago
1.0.0
10 months ago
1.0.7
9 months ago
1.0.5
10 months ago
1.0.4
10 months ago
1.0.3
10 months ago
0.3.0
12 months ago
0.3.2
12 months ago
0.3.1
12 months ago
0.3.4
12 months ago
0.3.3
12 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
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago