Can now grab text and images from firebase using Flamelink's API. I've also included a solution for adding different header styles. Next on the agenda is styling the Info page and filling it with sponsor's data.

This commit is contained in:
ajmaley
2018-10-30 23:56:24 -04:00
parent d975fbfe2a
commit ce0d5d2e1e
6 changed files with 77 additions and 32 deletions

View File

@@ -11,7 +11,7 @@ class Info extends Component {
schemaDetails: '',
}
flamelinkApp.schemas.getFields('martenSchemaDemo', { fields: [ 'title', 'key', 'type', 'gridColumns' ] })
flamelinkApp.schemas.getFields('martenSchemaDemo', { fields: [ 'title', 'key', 'type', 'gridColumns', 'description' ] })
.then(result => this.setState({
schemaDetails: result
}))