Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adhamu committed Mar 18, 2022
1 parent 22b74a7 commit 359d1ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ Also includes arrow key navigation through results.
## Installation

```shell
yarn add @adhamu/react-search-suggestions
yarn add react-search-suggestions
```

## Usage

```jsx
import React from 'react'
import { SearchSuggestions } from '@adhamu/react-search-suggestions'
import { SearchSuggestions } from 'react-search-suggestions'

const MyComponent = () => (
<SearchSuggestions
Expand Down Expand Up @@ -80,7 +80,7 @@ If you wanted to do something else `onClick` or `onKeyDown`, you could do someth

```jsx
import React from 'react'
import { SearchSuggestions } from '@adhamu/react-search-suggestions'
import { SearchSuggestions } from 'react-search-suggestions'

const customFunction = (arg: string) => {
console.log(arg)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adhamu/react-search-suggestions",
"version": "2.2.0",
"name": "react-search-suggestions",
"version": "1.0.0",
"description": "A React input component with pluggable search suggestions.",
"keywords": [
"react",
Expand Down

0 comments on commit 359d1ab

Please sign in to comment.