Skip to content

Commit

Permalink
TinaCMS content update
Browse files Browse the repository at this point in the history
Co-authored-by: Isaac Lombard <[email protected]>
  • Loading branch information
tina-cloud-app[bot] and isaaclombardssw authored Nov 7, 2024
1 parent 2fd51d9 commit 4beddd7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
id: /docs/reference/self-hosted/git-provider/make-your-own

title: Custom Git Provider
next: ''
previous: ''
---

Implement a Git Provider is easy. It is a class or object that implements the [`GitProvider`](#gitprovider-interface) interface.
Expand Down Expand Up @@ -129,7 +130,7 @@ export class MyGitHubProvider implements GitProvider {

This can now be used as a prop to the `createDatabase` [function](/docs/reference/self-hosted/database-adapter/overview/#createdatabase-function).

database.{ts,js}
database.{ts,js}:

```ts
import { createDatabase, createLocalDatabase } from '@tinacms/datalayer'
Expand Down

0 comments on commit 4beddd7

Please sign in to comment.