1.1.0 • Published 5 years ago

@streame/use-go-play-with v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

useGoPlayWith

A react hook for interacting with GoPlayWith gaming site and app.

Example

import React from "react";
import { useGoPlayWith } from "@streame/use-go-play-with";

const apiKey = "xxx-xxx-xxx-xxx";

const MyComponent: React.FC = () => {
  const { getUser, endTurn, endGame } = useGoPlayWith(apiKey);
  return (
    ...
  )
}

export default MyComponent;
1.1.0

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago