mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
playground: move pages under /components to match docs
This commit is contained in:
@@ -46,7 +46,7 @@ const components = [
|
||||
'tooltip'
|
||||
]
|
||||
|
||||
const items = components.map(component => ({ label: upperName(component), to: `/${component}` }))
|
||||
const items = components.map(component => ({ label: upperName(component), to: `/components/${component}` }))
|
||||
|
||||
function upperName(name: string) {
|
||||
return splitByCase(name).map(p => upperFirst(p)).join('')
|
||||
|
||||
Reference in New Issue
Block a user