API

FirebaseDatabaseProvider Props

Name

Type

Required

Default

firebase

no

authDomain

string

yes

apiKey

string

yes

databaseURL

string

yes

projectId

string

yes

messagingSenderId

string

no

storageBucket

string

no

children

React Node

no

render

() => ReactNode

no

FirebaseDatabaseNode Props

Name

Type

Required

Default

path

string

yes

orderByChild

string

no

null

orderByValue

any

no

null

orderByKey

any

yes

null

limitToFirst

number

no

null

limitToLast

number

no

null

startAt

number

no

null

endAt

number

no

null

equalTo

any

no

null

children

({path:string, isLoading,:boolean, value:any}) => ReactNode

no

null

FirebaseDatabaseMutation Props

Name

Type

Required

Default

path

string

yes

type

"set" | "update" | "push"

yes

children

( { runMutation: (value:any) => Promise<{key?:string}> } ) => ReactNode

yes

null

FirebaseDatabaseTransaction Props

Name

Type

Required

Default

path

string

yes

children

( { runTransaction: ({ reducer: (val:any) => any }) => Promise<void> } ) => ReactNode

yes

null

Last updated