@thewhateverapp/tile-sdk 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npm install @thewhateverapp/tile-sdk
|
|
|
25
25
|
### React Component
|
|
26
26
|
|
|
27
27
|
```tsx
|
|
28
|
-
import { TileProvider, useTile } from '@thewhateverapp/tile-sdk
|
|
28
|
+
import { TileProvider, useTile } from '@thewhateverapp/tile-sdk';
|
|
29
29
|
|
|
30
30
|
function MyTileApp() {
|
|
31
31
|
return (
|
|
@@ -428,7 +428,7 @@ interface UserContext {
|
|
|
428
428
|
### Example: Simple Counter Tile
|
|
429
429
|
|
|
430
430
|
```tsx
|
|
431
|
-
import { TileProvider, useTile } from '@thewhateverapp/tile-sdk
|
|
431
|
+
import { TileProvider, useTile } from '@thewhateverapp/tile-sdk';
|
|
432
432
|
import { useState, useEffect } from 'react';
|
|
433
433
|
|
|
434
434
|
function CounterTile() {
|
|
@@ -477,7 +477,7 @@ function Counter() {
|
|
|
477
477
|
### Example: User Profile Tile
|
|
478
478
|
|
|
479
479
|
```tsx
|
|
480
|
-
import { TileProvider, useTile } from '@thewhateverapp/tile-sdk
|
|
480
|
+
import { TileProvider, useTile } from '@thewhateverapp/tile-sdk';
|
|
481
481
|
import { useState, useEffect } from 'react';
|
|
482
482
|
|
|
483
483
|
function ProfileTile() {
|