Skip to content

Commit 805bcfb

Browse files
committed
Fixed relative links
1 parent 2841a7d commit 805bcfb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ A search and select React.JS component for picking the perfect giphy.
77
88
## Table of Contents
99

10-
- [Installation](#Installation)
11-
- [Usage](#Usage)
10+
- [Installation](#installation)
11+
- [Usage](#usage)
1212

1313
## Installation
1414

@@ -27,9 +27,9 @@ import {Selector, ResultSort, Rating} from "react-giphy-selector";
2727

2828
```
2929

30-
- [Selector](#Selector)
31-
- [Rating](#Rating)
32-
- [ResultSort](#ResultSort)
30+
- [Selector](#selector)
31+
- [Rating](#rating)
32+
- [ResultSort](#resultSort)
3333

3434
### Selector
3535

@@ -43,10 +43,10 @@ The selector component contains all of the search, display, and selection logic.
4343

4444
That said, there are a bunch of props that allow you to make this component your own. Note: the `?` included at the end of a property name denotes it as optional.
4545

46-
- `apiKey: string`: [Your Giphy Project API Key]([Giphy API Key](https://developers.giphy.com/).
46+
- `apiKey: string`: [Your Giphy Project API Key](https://developers.giphy.com/).
4747
- `onGifSelected?: (gifObject: IGifObject) => void`: The function to fire when a gif search result has been selected. The `IGifObject` represents the full [GIF Object](https://developers.giphy.com/docs/#gif-object) returned via the Giphy API.
48-
- `rating?: Rating`: The maximum rating you want to allow in your search results. Use the exported [Rating](#Rating) enum for help. Default: `Rating.G`.
49-
- `sort?: ResultSort`: The sort order of the search results. Use the helper enum [ResultSort](#ResultSort). Default: `ResultSort.Relevant`.
48+
- `rating?: Rating`: The maximum rating you want to allow in your search results. Use the exported [Rating](#rating) enum for help. Default: `Rating.G`.
49+
- `sort?: ResultSort`: The sort order of the search results. Use the helper enum [ResultSort](#resultsort). Default: `ResultSort.Relevant`.
5050
- `limit?: number`: The number of results to return. Default: `20`.
5151
- `suggestions?: string[]`: An array containing one-click searches to make it easy for your user. Will not show suggestions section if none are passed. Default: `[]`.
5252
- `queryInputPlaceholder?: string`: The placeholder text for the search bar text input. Default `'Enter search text'`.

0 commit comments

Comments
 (0)