mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-29 12:45:32 +08:00
chore: add menu data to version control
This commit is contained in:
14
lib/data/index.ts
Normal file
14
lib/data/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import enUS from './metadata-en-us.json'
|
||||
import zhCN from './metadata-zh-cn.json'
|
||||
import { Sides } from 'lib/components/sidebar/side-item'
|
||||
|
||||
export interface MultilLocaleMetaInformation {
|
||||
[key: string]: Sides[]
|
||||
}
|
||||
|
||||
const Metadatas: MultilLocaleMetaInformation = {
|
||||
'en-us': enUS,
|
||||
'zh-cn': zhCN,
|
||||
}
|
||||
|
||||
export default Metadatas
|
||||
Reference in New Issue
Block a user