Skip to content

Commit 37134d1

Browse files
[fix] className to class (Angular guide)
1 parent eaf0332 commit 37134d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/angular_integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ import { Component, ElementRef, OnInit, ViewChild, OnDestroy, ViewEncapsulation
8989
encapsulation: ViewEncapsulation.None,
9090
selector: 'spreadsheet', // a template name used in the "app.component.ts" file as <spreadsheet/>
9191
styleUrls: ['./spreadsheet.component.css'], // include a css file
92-
template: `<div #container class="widget"></div>`
92+
template: `<div #container class = "widget"></div>`
9393
})
9494

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

196196
export class SpreadsheetComponent implements OnInit, OnDestroy {

docs/react_integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Download the [**trial Spreadsheet package**](/how_to_start/#installing-spreadshe
6060

6161
### Step 2. Component creation
6262

63-
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***.
63+
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***.
6464

6565
#### Import source files
6666

0 commit comments

Comments
 (0)