Skip to content

Commit

Permalink
Fix context provide decorator api doc (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjk authored Nov 29, 2023
1 parent 2da6dd1 commit 9587499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lit-dev-content/site/docs/v2/data/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ The `ValueType` type parameter is the type of value that can be provided by this

### `@provide()`

A property decorator that adds a ContextConsumer controller to the component which will try and retrieve a value for the property via the Context API.
A property decorator that adds a ContextProvider controller to the component making it respond to any `context-request` events from its children consumer.

**Import**:

Expand Down
2 changes: 1 addition & 1 deletion packages/lit-dev-content/site/docs/v3/data/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ The `ValueType` type parameter is the type of value that can be provided by this

### `@provide()`

A property decorator that adds a ContextConsumer controller to the component which will try and retrieve a value for the property via the Context API.
A property decorator that adds a ContextProvider controller to the component making it respond to any `context-request` events from its children consumer.

**Import**:

Expand Down

0 comments on commit 9587499

Please sign in to comment.