0.0.7 ā€¢ Published 6 years ago

react-gif-search v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-gif-search

šŸ•µļøā€ā™€ļø A simple bit of react to query giphy.com

Usage

Edit React Gif Search - Example

import React from "react";
import { render } from "react-dom";

import GifSearch from "react-gif-search";

const App = () => (
  <GifSearch
    // Feed a search term directly to the API
    query="doggo"
    // A callback for when a search is actually made
    onDidSearch={term => console.log(`Searching for ${term}.`)}
  />
);

render(<App />, document.getElementById("root"));