diff --git a/docs/src/App/App.tsx b/docs/src/App/App.tsx index e120c2f29d..ca35539f49 100644 --- a/docs/src/App/App.tsx +++ b/docs/src/App/App.tsx @@ -9,7 +9,7 @@ import ComponentRoute from './ComponentRoute/ComponentRoute'; import { Link, ExternalLink } from './Link'; import styles from './App.css.js'; -const { ThemeProvider, Text, Box, BulletList, Bullet } = components; +const { ThemeProvider, Text, Box, BulletList, Bullet, Hidden } = components; interface AppProps extends RouteComponentProps { sourceUrlPrefix: string; @@ -59,122 +59,126 @@ export default withRouter( - + + +
-
- +
- - - Tools - - - - - - - Source - - - - - Playroom - - - - - - - Components - - - + + + + Tools + + + + + + + Source + + + + + Playroom + + + + + + + Components + + + + + {Object.keys(components) + .filter(x => !/icon/i.test(x)) + .sort() + .map(componentName => ( + + + {componentName} + + + ))} + + + + + Icons + + {Object.keys(components) - .filter(x => !/icon/i.test(x)) + .filter(x => /icon/i.test(x) && x !== 'Icon') .sort() - .map(componentName => ( - + .map(iconName => ( + - {componentName} + {iconName} ))} - - - Icons - - - - {Object.keys(components) - .filter(x => /icon/i.test(x) && x !== 'Icon') - .sort() - .map(iconName => ( - - - {iconName} - - - ))} - - -
+
+