Skip to content

Commit

Permalink
[fix] className to class (Angular guide)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiipylypchuk1991 committed Aug 26, 2024
1 parent eaf0332 commit 37134d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/angular_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ import { Component, ElementRef, OnInit, ViewChild, OnDestroy, ViewEncapsulation
encapsulation: ViewEncapsulation.None,
selector: 'spreadsheet', // a template name used in the "app.component.ts" file as <spreadsheet/>
styleUrls: ['./spreadsheet.component.css'], // include a css file
template: `<div #container class="widget"></div>`
template: `<div #container class = "widget"></div>`
})

export class SpreadsheetComponent implements OnInit, OnDestroy {
Expand Down Expand Up @@ -190,7 +190,7 @@ import { Component, ElementRef, OnInit, ViewChild, OnDestroy, ViewEncapsulation
encapsulation: ViewEncapsulation.None,
selector: 'spreadsheet',
styleUrls: ['./spreadsheet.component.css'],
template: `<div #container class="widget"></div>`
template: `<div #container class = "widget"></div>`
})

export class SpreadsheetComponent implements OnInit, OnDestroy {
Expand Down
2 changes: 1 addition & 1 deletion docs/react_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Download the [**trial Spreadsheet package**](/how_to_start/#installing-spreadshe

### Step 2. Component creation

Now you need to create a React component, to add an Spreadsheet into the application. Create a new file in the ***src/*** directory and name it ***Spreadsheet.jsx***.
Now you need to create a React component, to add Spreadsheet into the application. Create a new file in the ***src/*** directory and name it ***Spreadsheet.jsx***.

#### Import source files

Expand Down

0 comments on commit 37134d1

Please sign in to comment.