-
Notifications
You must be signed in to change notification settings - Fork 2
useBranch
bdbch edited this page Jul 20, 2019
·
1 revision
import { useBranch } from "@d2k/react-github";
function MyComponent() {
const { branch, loading, error } = useBranch("facebook", "react", "master");
// your component
}