0.0.7 • Published 2 years ago
@divetool/coral-angular v0.0.7
Coral Angular Components
The Coral's Angular components are built using StencilJS. Read more about it in the StencilJS website.
Documentation
Read the full docs at https://divetool.github.io/coral
Getting started
To start using Coral's Angular components, start by installing @divetool/coral-angular
in your Angular project.
npm install @divetool/coral-angular
Then add the CoralAngularModule
to your NgModule.
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { CoralAngularModule } from '@divetool/coral-angular';
@NgModule({
declarations: [AppComponent],
imports: [CoralAngularModule, BrowserModule],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
You are now able to use Coral components in your Angular component templates:
<crl-button variant="secondary" [disabled]="isDisabled"> Click me </crl-button>
License
This project is licensed under the MIT License.
See LICENSE for more information.