You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
660 B

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* @emails react-core
* @flow
*/
// $FlowExpectedError
import navCommunity from '../../content/community/nav.yml';
// $FlowExpectedError
import navDocs from '../../content/docs/nav.yml';
// $FlowExpectedError
import navTutorial from '../../content/tutorial/nav.yml';
const sectionListDocs = navDocs.map(
(item: Object): Object => ({
...item,
directory: 'docs',
}),
);
const sectionListCommunity = navCommunity.map(
(item: Object): Object => ({
...item,
directory: 'community',
}),
);
export {
sectionListCommunity,
sectionListDocs,
navTutorial as sectionListTutorial,
};