1import * as React from 'react';
2
3import ComponentListScreen from '../ComponentListScreen';
4import GLScreens from './GLScreens';
5
6const screens = Object.keys(GLScreens).map(name => ({
7  name: GLScreens[name].screen.title ?? name,
8  route: `/components/gl/${name.toLowerCase()}`,
9  isAvailable: true,
10}));
11export default function GLScreen() {
12  return <ComponentListScreen apis={screens} />;
13}
14
15GLScreen.navigationOptions = {
16  title: 'Examples of GL use',
17};
18