@@ -6,7 +6,6 @@ import { getFormattedHash } from 'docs/src/utils'
66import ComponentDocLinks from './ComponentDocLinks'
77import ComponentDocSee from './ComponentDocSee'
88import { ComponentExamples } from './ComponentExamples'
9- import { ComponentUsage } from './ComponentUsage'
109import ComponentProps from './ComponentProps'
1110import { ComponentDocAccessibility } from './ComponentDocAccessibility'
1211import { ThemeContext } from 'docs/src/context/ThemeContext'
@@ -234,31 +233,6 @@ class ComponentDoc extends React.Component<ComponentDocProps, ComponentDocState>
234233 </ >
235234 ) }
236235
237- { this . getCurrentTabTitle ( ) === 'Usage' && (
238- < Grid columns = "auto 300px" styles = { { justifyContent : 'normal' , justifyItems : 'stretch' } } >
239- < div >
240- < ExampleContext . Provider
241- value = { {
242- activeAnchorName : activePath ,
243- onExamplePassed : this . handleExamplePassed ,
244- } }
245- >
246- < ComponentUsage displayName = { info . displayName } />
247- </ ExampleContext . Provider >
248- </ div >
249- { /* TODO: bring back the right floating menu
250- <Box styles={{ width: '25%', paddingLeft: '14px' }}>
251- <ComponentSidebar
252- activePath={activePath}
253- displayName={info.displayName}
254- examplesRef={examplesRef}
255- onItemClick={this.handleSidebarItemClick}
256- />
257- </Box>
258- */ }
259- </ Grid >
260- ) }
261-
262236 < div style = { exampleEndStyle } >
263237 This is the bottom < Icon name = "pointing down" />
264238 </ div >
0 commit comments