Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vutran authored Sep 8, 2017
1 parent a046744 commit 3502d67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function MyExtension() {
];
}

export default function connect(MyExtension, 'foo');
export default function command(MyExtension, 'foo');
```

In the above example, `MyExtension` will be queried only if the user starts their query with the keyword `foo`.
Expand Down Expand Up @@ -194,7 +194,7 @@ const VoiceBar = withVoice(Omnibar);
| `resultRenderer` | `Function` | | Rendering function for each result item. Arguments: `{ item }` |
| `onAction` | `Function` | | Override the defaut action callback when an item is executed. Arguments: `item` |
| `inputDelay` | `number` | | Override the default input delay used for querying extensions (Default: 100ms) |
| `defaultValue` | `string` | Optional value to send to the Omnibar. |
| `defaultValue` | `string` | | Optional value to send to the Omnibar. |
## Contributing
Expand Down

0 comments on commit 3502d67

Please sign in to comment.