Name | Type | Required | Default |
---|---|---|---|
firebase | 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 |
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 |
Name | Type | Required | Default |
---|---|---|---|
path | string | yes | |
type | set or update or push |
yes | |
children | ( { runMutation: (value:any) => Promise<{key?:string}> } ) => ReactNode | yes | null |
Name | Type | Required | Default |
---|---|---|---|
path | string | yes | |
children | ( { runTransaction: ({ reducer: (val:any) => any }) => Promise\ |
yes | null |