Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
betocantu93 authored Nov 8, 2022
1 parent 9330eec commit 25e5528
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can basically refer to @elastic/search-ui for the documentation and use the
import Controller from '@ember/controller';

export default class SomeController extends Controller {
columns = [
properties = [
{
name: 'Name',
relation: 'contact',
Expand Down Expand Up @@ -67,7 +67,7 @@ export default class SomeController extends Controller {
//some.hbs
<SearchProvider @config={{this.config}} as |driver|>
<Table @driver={{driver}} @columns={{this.columns}} />
<Table @driver={{driver}} @properties={{this.properties}} />
</SearchProvider>
```
Expand All @@ -90,7 +90,7 @@ export default class SomeController extends Controller {
>
<thead>
<tr>
{{#each @columns as |column|}}
{{#each @properties as |column|}}
<th
scope="col"
class="px-6 py-3 text-xs font-medium tracking-wider text-left text-gray-500 uppercase bg-gray-50"
Expand Down

0 comments on commit 25e5528

Please # to comment.