1
1
import React from 'react'
2
+
2
3
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
3
4
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
4
5
6
+ // TODO: Add example with <Popup> after it will be added
7
+ // TODO: Add example with <Search> after it will be added
8
+
5
9
const Content = ( ) => {
6
10
return (
7
11
< ExampleSection title = 'Content' >
@@ -17,6 +21,54 @@ const Content = () => {
17
21
description = 'A vertical menu item can include any type of text content'
18
22
examplePath = 'collections/Menu/Content/Text'
19
23
/>
24
+
25
+ { /*<ComponentExample*/ }
26
+ { /*title='Input'*/ }
27
+ { /*description='A menu item can contain an input inside of it'*/ }
28
+ { /*examplePath='collections/Menu/Content/Input'*/ }
29
+ { /*/>*/ }
30
+
31
+ { /*<ComponentExample*/ }
32
+ { /*title='Button'*/ }
33
+ { /*description='A menu item can contain a button inside of it'*/ }
34
+ { /*examplePath='collections/Menu/Content/Buttons'*/ }
35
+ { /*/>*/ }
36
+
37
+ { /*<ComponentExample*/ }
38
+ { /*title='Link Item'*/ }
39
+ { /*description='A menu may contain a link item, or an item formatted as if it is a link'*/ }
40
+ { /*examplePath='collections/Menu/Content/LinkItem'*/ }
41
+ { /*/>*/ }
42
+
43
+ { /*<ComponentExample*/ }
44
+ { /*title='Dropdown Item'*/ }
45
+ { /*description='An item may contain a nested menu in a dropdown'*/ }
46
+ { /*examplePath='collections/Menu/Content/LinkItem'*/ }
47
+ { /*/>*/ }
48
+
49
+ { /*<ComponentExample*/ }
50
+ { /*title='Popup Menu'*/ }
51
+ { /*description='A menu item may show a large menu, or additional content using a popup'*/ }
52
+ { /*examplePath='collections/Menu/Content/Popups'*/ }
53
+ { /*/>*/ }
54
+
55
+ { /*<ComponentExample*/ }
56
+ { /*title='Search'*/ }
57
+ { /*description='A menu can contain a search input'*/ }
58
+ { /*examplePath='collections/Menu/Content/Search'*/ }
59
+ { /*/>*/ }
60
+
61
+ { /*<ComponentExample*/ }
62
+ { /*title='Menu'*/ }
63
+ { /*description='A menu may contain another menu group in the same level as menu items'*/ }
64
+ { /*examplePath='collections/Menu/Content/Menus'*/ }
65
+ { /*/>*/ }
66
+
67
+ < ComponentExample
68
+ title = 'Sub Menu'
69
+ description = 'A menu item may contain another menu nested inside that acts as a grouped sub-menu'
70
+ examplePath = 'collections/Menu/Content/SubMenu'
71
+ />
20
72
</ ExampleSection >
21
73
)
22
74
}
0 commit comments