@patternfly/react-docs 7.6.0-prerelease.8 → 7.6.0-prerelease.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE +21 -0
  3. package/package.json +12 -11
  4. package/patternfly-docs/generated/components/about-modal/react.js +0 -149
  5. package/patternfly-docs/generated/components/accordion/react.js +0 -262
  6. package/patternfly-docs/generated/components/action-list/react.js +0 -144
  7. package/patternfly-docs/generated/components/alert/react-demos.js +0 -56
  8. package/patternfly-docs/generated/components/alert/react.js +0 -1433
  9. package/patternfly-docs/generated/components/avatar/react.js +0 -166
  10. package/patternfly-docs/generated/components/back-to-top/react-demos.js +0 -60
  11. package/patternfly-docs/generated/components/back-to-top/react.js +0 -77
  12. package/patternfly-docs/generated/components/backdrop/react.js +0 -64
  13. package/patternfly-docs/generated/components/background-image/react.js +0 -62
  14. package/patternfly-docs/generated/components/badge/react.js +0 -97
  15. package/patternfly-docs/generated/components/banner/react-demos.js +0 -57
  16. package/patternfly-docs/generated/components/banner/react.js +0 -148
  17. package/patternfly-docs/generated/components/brand/react.js +0 -142
  18. package/patternfly-docs/generated/components/breadcrumb/react.js +0 -206
  19. package/patternfly-docs/generated/components/button/react-demos.js +0 -57
  20. package/patternfly-docs/generated/components/button/react.js +0 -826
  21. package/patternfly-docs/generated/components/card/react-demos.js +0 -201
  22. package/patternfly-docs/generated/components/card/react.js +0 -1015
  23. package/patternfly-docs/generated/components/charts/area-chart/-Victory.js +0 -1350
  24. package/patternfly-docs/generated/components/charts/bar-chart/-Victory.js +0 -1334
  25. package/patternfly-docs/generated/components/charts/box-plot-chart/-Victory.js +0 -1282
  26. package/patternfly-docs/generated/components/charts/bullet-chart/-Victory.js +0 -848
  27. package/patternfly-docs/generated/components/charts/colors-for-charts/-Victory.js +0 -192
  28. package/patternfly-docs/generated/components/charts/donut-chart/-Victory.js +0 -426
  29. package/patternfly-docs/generated/components/charts/donut-utilization-chart/-Victory.js +0 -804
  30. package/patternfly-docs/generated/components/charts/legends/-Victory.js +0 -3230
  31. package/patternfly-docs/generated/components/charts/line-chart/-Victory.js +0 -1178
  32. package/patternfly-docs/generated/components/charts/line-chart/ECharts.js +0 -525
  33. package/patternfly-docs/generated/components/charts/patterns/-Victory.js +0 -3382
  34. package/patternfly-docs/generated/components/charts/pie-chart/-Victory.js +0 -377
  35. package/patternfly-docs/generated/components/charts/resize-observer/-Victory.js +0 -2475
  36. package/patternfly-docs/generated/components/charts/sankey-chart/ECharts.js +0 -538
  37. package/patternfly-docs/generated/components/charts/scatter-chart/-Victory.js +0 -1551
  38. package/patternfly-docs/generated/components/charts/skeletons/-Victory.js +0 -4115
  39. package/patternfly-docs/generated/components/charts/sparkline-chart/-Victory.js +0 -955
  40. package/patternfly-docs/generated/components/charts/stack-chart/-Victory.js +0 -1173
  41. package/patternfly-docs/generated/components/charts/threshold-chart/-Victory.js +0 -1166
  42. package/patternfly-docs/generated/components/charts/tooltips/-Victory.js +0 -413
  43. package/patternfly-docs/generated/components/chip/react-deprecated.js +0 -323
  44. package/patternfly-docs/generated/components/clipboard-copy/react.js +0 -373
  45. package/patternfly-docs/generated/components/code-block/react.js +0 -148
  46. package/patternfly-docs/generated/components/code-editor/react.js +0 -659
  47. package/patternfly-docs/generated/components/compass/react-demos.js +0 -147
  48. package/patternfly-docs/generated/components/compass/react.js +0 -440
  49. package/patternfly-docs/generated/components/content/react.js +0 -248
  50. package/patternfly-docs/generated/components/data-list/react-demos.js +0 -90
  51. package/patternfly-docs/generated/components/data-list/react.js +0 -709
  52. package/patternfly-docs/generated/components/date-and-time/calendar-month/react.js +0 -283
  53. package/patternfly-docs/generated/components/date-and-time/date-and-time-picker/react-demos.js +0 -64
  54. package/patternfly-docs/generated/components/date-and-time/date-picker/react-demos.js +0 -83
  55. package/patternfly-docs/generated/components/date-and-time/date-picker/react.js +0 -395
  56. package/patternfly-docs/generated/components/date-and-time/time-picker/react.js +0 -241
  57. package/patternfly-docs/generated/components/description-list/react-demos.js +0 -58
  58. package/patternfly-docs/generated/components/description-list/react.js +0 -743
  59. package/patternfly-docs/generated/components/divider/react.js +0 -126
  60. package/patternfly-docs/generated/components/drag-and-drop/react-demos.js +0 -351
  61. package/patternfly-docs/generated/components/drag-and-drop/react-deprecated.js +0 -184
  62. package/patternfly-docs/generated/components/drag-and-drop/react.js +0 -137
  63. package/patternfly-docs/generated/components/drawer/react.js +0 -598
  64. package/patternfly-docs/generated/components/dual-list-selector/react-deprecated.js +0 -772
  65. package/patternfly-docs/generated/components/dual-list-selector/react.js +0 -594
  66. package/patternfly-docs/generated/components/empty-state/react.js +0 -199
  67. package/patternfly-docs/generated/components/expandable-section/react-demos.js +0 -65
  68. package/patternfly-docs/generated/components/expandable-section/react.js +0 -408
  69. package/patternfly-docs/generated/components/file-upload/multiple-file-upload/react-demos.js +0 -52
  70. package/patternfly-docs/generated/components/file-upload/multiple-file-upload/react.js +0 -398
  71. package/patternfly-docs/generated/components/file-upload/simple-file-upload/react.js +0 -749
  72. package/patternfly-docs/generated/components/forms/checkbox/react.js +0 -222
  73. package/patternfly-docs/generated/components/forms/form/react.js +0 -1106
  74. package/patternfly-docs/generated/components/forms/form-select/react.js +0 -208
  75. package/patternfly-docs/generated/components/forms/radio/react.js +0 -212
  76. package/patternfly-docs/generated/components/forms/text-area/react.js +0 -160
  77. package/patternfly-docs/generated/components/forms/text-input/react.js +0 -216
  78. package/patternfly-docs/generated/components/helper-text/react-demos.js +0 -180
  79. package/patternfly-docs/generated/components/helper-text/react.js +0 -164
  80. package/patternfly-docs/generated/components/hero/react.js +0 -88
  81. package/patternfly-docs/generated/components/hint/react.js +0 -169
  82. package/patternfly-docs/generated/components/icon/react.js +0 -215
  83. package/patternfly-docs/generated/components/input-group/react.js +0 -182
  84. package/patternfly-docs/generated/components/jump-links/react-demos.js +0 -154
  85. package/patternfly-docs/generated/components/jump-links/react.js +0 -212
  86. package/patternfly-docs/generated/components/label/react-demos.js +0 -57
  87. package/patternfly-docs/generated/components/label/react.js +0 -417
  88. package/patternfly-docs/generated/components/list/react.js +0 -175
  89. package/patternfly-docs/generated/components/login-page/react.js +0 -587
  90. package/patternfly-docs/generated/components/masthead/react-demos.js +0 -79
  91. package/patternfly-docs/generated/components/masthead/react.js +0 -291
  92. package/patternfly-docs/generated/components/menus/application-launcher/react-demos.js +0 -769
  93. package/patternfly-docs/generated/components/menus/context-selector/react-demos.js +0 -665
  94. package/patternfly-docs/generated/components/menus/custom-menus/react-demos.js +0 -187
  95. package/patternfly-docs/generated/components/menus/dropdown/react-templates.js +0 -163
  96. package/patternfly-docs/generated/components/menus/dropdown/react.js +0 -998
  97. package/patternfly-docs/generated/components/menus/menu/react.js +0 -1540
  98. package/patternfly-docs/generated/components/menus/menu-toggle/react.js +0 -747
  99. package/patternfly-docs/generated/components/menus/options-menu/react-demos.js +0 -508
  100. package/patternfly-docs/generated/components/menus/select/react-templates.js +0 -257
  101. package/patternfly-docs/generated/components/menus/select/react.js +0 -998
  102. package/patternfly-docs/generated/components/modal/react-deprecated.js +0 -554
  103. package/patternfly-docs/generated/components/modal/react.js +0 -597
  104. package/patternfly-docs/generated/components/navigation/react-demos.js +0 -356
  105. package/patternfly-docs/generated/components/navigation/react.js +0 -409
  106. package/patternfly-docs/generated/components/notification-badge/react.js +0 -196
  107. package/patternfly-docs/generated/components/notification-drawer/react-demos.js +0 -107
  108. package/patternfly-docs/generated/components/notification-drawer/react.js +0 -394
  109. package/patternfly-docs/generated/components/number-input/react.js +0 -210
  110. package/patternfly-docs/generated/components/overflow-menu/react.js +0 -274
  111. package/patternfly-docs/generated/components/page/react-demos.js +0 -149
  112. package/patternfly-docs/generated/components/page/react.js +0 -1352
  113. package/patternfly-docs/generated/components/pagination/react.js +0 -492
  114. package/patternfly-docs/generated/components/panel/react.js +0 -236
  115. package/patternfly-docs/generated/components/popover/react.js +0 -390
  116. package/patternfly-docs/generated/components/progress/react-demos.js +0 -59
  117. package/patternfly-docs/generated/components/progress/react.js +0 -283
  118. package/patternfly-docs/generated/components/progress-stepper/react-demos.js +0 -45
  119. package/patternfly-docs/generated/components/progress-stepper/react.js +0 -219
  120. package/patternfly-docs/generated/components/search-input/react-demos.js +0 -113
  121. package/patternfly-docs/generated/components/search-input/react.js +0 -263
  122. package/patternfly-docs/generated/components/sidebar/react.js +0 -236
  123. package/patternfly-docs/generated/components/simple-list/react.js +0 -200
  124. package/patternfly-docs/generated/components/skeleton/react-demos.js +0 -44
  125. package/patternfly-docs/generated/components/skeleton/react.js +0 -122
  126. package/patternfly-docs/generated/components/skip-to-content/react.js +0 -73
  127. package/patternfly-docs/generated/components/slider/react.js +0 -309
  128. package/patternfly-docs/generated/components/spinner/react.js +0 -111
  129. package/patternfly-docs/generated/components/switch/react.js +0 -163
  130. package/patternfly-docs/generated/components/table/react-demos.js +0 -355
  131. package/patternfly-docs/generated/components/table/react-deprecated.js +0 -1350
  132. package/patternfly-docs/generated/components/table/react.js +0 -3241
  133. package/patternfly-docs/generated/components/tabs/react-demos.js +0 -108
  134. package/patternfly-docs/generated/components/tabs/react.js +0 -1359
  135. package/patternfly-docs/generated/components/text-input-group/react-demos.js +0 -152
  136. package/patternfly-docs/generated/components/text-input-group/react.js +0 -278
  137. package/patternfly-docs/generated/components/tile/react-deprecated.js +0 -242
  138. package/patternfly-docs/generated/components/timestamp/react.js +0 -283
  139. package/patternfly-docs/generated/components/title/react.js +0 -94
  140. package/patternfly-docs/generated/components/toggle-group/react.js +0 -299
  141. package/patternfly-docs/generated/components/toolbar/react-demos.js +0 -66
  142. package/patternfly-docs/generated/components/toolbar/react.js +0 -932
  143. package/patternfly-docs/generated/components/tooltip/react.js +0 -241
  144. package/patternfly-docs/generated/components/tree-view/react.js +0 -429
  145. package/patternfly-docs/generated/components/truncate/react.js +0 -211
  146. package/patternfly-docs/generated/components/wizard/react-demos.js +0 -87
  147. package/patternfly-docs/generated/components/wizard/react-deprecated.js +0 -788
  148. package/patternfly-docs/generated/components/wizard/react.js +0 -986
  149. package/patternfly-docs/generated/developer-guides/open-ui-automation/react.js +0 -285
  150. package/patternfly-docs/generated/foundations-and-styles/layouts/bullseye/react.js +0 -70
  151. package/patternfly-docs/generated/foundations-and-styles/layouts/flex/react.js +0 -506
  152. package/patternfly-docs/generated/foundations-and-styles/layouts/gallery/react.js +0 -94
  153. package/patternfly-docs/generated/foundations-and-styles/layouts/grid/react.js +0 -272
  154. package/patternfly-docs/generated/foundations-and-styles/layouts/level/react.js +0 -87
  155. package/patternfly-docs/generated/foundations-and-styles/layouts/split/react.js +0 -124
  156. package/patternfly-docs/generated/foundations-and-styles/layouts/stack/react.js +0 -112
  157. package/patternfly-docs/generated/index.js +0 -1769
  158. package/patternfly-docs/generated/patterns/card-view/react-demos.js +0 -78
  159. package/patternfly-docs/generated/patterns/filters/react-demos.js +0 -141
  160. package/patternfly-docs/generated/patterns/password-generator/react-demos.js +0 -51
  161. package/patternfly-docs/generated/patterns/password-strength/react-demos.js +0 -61
  162. package/patternfly-docs/generated/patterns/primary-detail/react-demos.js +0 -124
  163. package/patternfly-docs/generated/patterns/right-to-left/react-demos.js +0 -81
@@ -1,242 +0,0 @@
1
- import React from 'react';
2
- import { AutoLinkHeader, Example, Link as PatternflyThemeLink } from '@patternfly/documentation-framework/components';
3
- import { useState } from 'react';
4
- import PlusIcon from '@patternfly/react-icons/dist/esm/icons/plus-icon';
5
- import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
6
- import '../../../../../react-core/src/deprecated/components/Tile/examples/./Tile.css';
7
- const pageData = {
8
- "id": "Tile",
9
- "section": "components",
10
- "subsection": "",
11
- "deprecated": true,
12
- "template": false,
13
- "beta": false,
14
- "demo": false,
15
- "newImplementationLink": false,
16
- "source": "react-deprecated",
17
- "tabName": null,
18
- "slug": "/components/tile/react-deprecated",
19
- "sourceLink": "https://github.com/patternfly/patternfly-react/blob/main/packages/react-core/src/deprecated/components/Tile/examples/Tile.md",
20
- "relPath": "packages/react-core/src/deprecated/components/Tile/examples/Tile.md",
21
- "propComponents": [
22
- {
23
- "name": "Tile",
24
- "description": "",
25
- "props": [
26
- {
27
- "name": "children",
28
- "type": "React.ReactNode",
29
- "description": "Content rendered inside the banner"
30
- },
31
- {
32
- "name": "className",
33
- "type": "string",
34
- "description": "Additional classes added to the banner"
35
- },
36
- {
37
- "name": "icon",
38
- "type": "React.ReactNode",
39
- "description": "Icon in the tile title"
40
- },
41
- {
42
- "name": "isDisabled",
43
- "type": "boolean",
44
- "description": "Flag indicating if the tile is disabled"
45
- },
46
- {
47
- "name": "isDisplayLarge",
48
- "type": "boolean",
49
- "description": "Flag indicating if the stacked tile icon is large"
50
- },
51
- {
52
- "name": "isSelected",
53
- "type": "boolean",
54
- "description": "Flag indicating if the tile is selected"
55
- },
56
- {
57
- "name": "isStacked",
58
- "type": "boolean",
59
- "description": "Flag indicating if the tile header is stacked"
60
- },
61
- {
62
- "name": "title",
63
- "type": "string",
64
- "description": "Title of the tile",
65
- "required": true
66
- }
67
- ]
68
- }
69
- ],
70
- "cssPrefix": [
71
- "pf-v6-c-tile"
72
- ],
73
- "examples": [
74
- "Basic tile",
75
- "With subtext",
76
- "With icon",
77
- "With stacked icon",
78
- "With large icons",
79
- "With long subtext",
80
- "Tiles with single selection",
81
- "Tiles with multiple selection"
82
- ]
83
- };
84
- pageData.liveContext = {
85
- useState,
86
- PlusIcon,
87
- RhUiNotificationFillIcon
88
- };
89
- pageData.relativeImports = "import 'react-core/src/deprecated/components/Tile/examples/./Tile.css';"
90
- pageData.examples = {
91
- 'Basic tile': props =>
92
- <Example {...pageData} {...props} {...{"code":"import { Tile } from '@patternfly/react-core/deprecated';\n\nexport const TileBasic: React.FunctionComponent = () => (\n <div role=\"listbox\" aria-label=\"Basic tiles\">\n <Tile title=\"Default\" isSelected={false} />\n <Tile title=\"Selected\" isSelected />\n <Tile title=\"Disabled\" isDisabled isSelected={false} />\n </div>\n);\n","title":"Basic tile","lang":"ts","className":""}}>
93
-
94
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
95
- {`Basic tiles can appear in one of three states: a default state, selected state, and a disabled state. To change the state of a tile, use the properties `}
96
-
97
- <code {...{"className":"ws-code "}}>
98
- {`isSelected`}
99
- </code>
100
- {` and `}
101
-
102
- <code {...{"className":"ws-code "}}>
103
- {`isDisabled`}
104
- </code>
105
- {`.`}
106
- </p>
107
- </Example>,
108
- 'With subtext': props =>
109
- <Example {...pageData} {...props} {...{"code":"import { Tile } from '@patternfly/react-core/deprecated';\n\nexport const TileWithSubtext: React.FunctionComponent = () => (\n <div role=\"listbox\" aria-label=\"Tiles with subtext\">\n <Tile title=\"Default\" isSelected={false}>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Selected\" isSelected>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Disabled\" isDisabled isSelected={false}>\n Subtext goes here\n </Tile>\n </div>\n);\n","title":"With subtext","lang":"ts","className":""}}>
110
-
111
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
112
- {`Tile subtext can provide users with additional context. To add subtext, pass a short description to the `}
113
-
114
- <code {...{"className":"ws-code "}}>
115
- {`<Tile>`}
116
- </code>
117
- {` component.`}
118
- </p>
119
- </Example>,
120
- 'With icon': props =>
121
- <Example {...pageData} {...props} {...{"code":"import { Tile } from '@patternfly/react-core/deprecated';\nimport PlusIcon from '@patternfly/react-icons/dist/esm/icons/plus-icon';\n\nexport const TileWithIcon: React.FunctionComponent = () => (\n <div role=\"listbox\" aria-label=\"Tiles with icon\">\n <Tile title=\"Default\" icon={<PlusIcon />} isSelected={false}>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Selected\" icon={<PlusIcon />} isSelected>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Disabled\" icon={<PlusIcon />} isDisabled isSelected={false}>\n Subtext goes here\n </Tile>\n </div>\n);\n","title":"With icon","lang":"ts","className":""}}>
122
-
123
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
124
- {`Icons can provide a visual cue that helps users understand what the tile is being used for. To add an icon, use the `}
125
-
126
- <code {...{"className":"ws-code "}}>
127
- {`icon`}
128
- </code>
129
- {` property.`}
130
- </p>
131
- </Example>,
132
- 'With stacked icon': props =>
133
- <Example {...pageData} {...props} {...{"code":"import { Tile } from '@patternfly/react-core/deprecated';\nimport RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';\n\nexport const TileStacked: React.FunctionComponent = () => (\n <div role=\"listbox\" aria-label=\"Stacked tiles\">\n <Tile title=\"Default\" icon={<RhUiNotificationFillIcon />} isStacked isSelected={false}>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Selected\" icon={<RhUiNotificationFillIcon />} isStacked isSelected>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Disabled\" icon={<RhUiNotificationFillIcon />} isStacked isDisabled isSelected={false}>\n Subtext goes here\n </Tile>\n </div>\n);\n","title":"With stacked icon","lang":"ts","className":""}}>
134
-
135
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
136
- {`You can further customize a tile’s appearance by placing an icon above the title. To stack your icon on top of a tile’s title, use the `}
137
-
138
- <code {...{"className":"ws-code "}}>
139
- {`isStacked`}
140
- </code>
141
- {` property.`}
142
- </p>
143
- </Example>,
144
- 'With large icons': props =>
145
- <Example {...pageData} {...props} {...{"code":"import { Tile } from '@patternfly/react-core/deprecated';\nimport RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';\n\nexport const TileStackedWithLargeIcons: React.FunctionComponent = () => (\n <div role=\"listbox\" aria-label=\"Stacked tiles with large icons\">\n <Tile title=\"Default\" icon={<RhUiNotificationFillIcon />} isStacked isDisplayLarge isSelected={false}>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Selected\" icon={<RhUiNotificationFillIcon />} isStacked isDisplayLarge isSelected>\n Subtext goes here\n </Tile>{' '}\n <Tile title=\"Disabled\" icon={<RhUiNotificationFillIcon />} isStacked isDisplayLarge isDisabled isSelected={false}>\n Subtext goes here\n </Tile>\n </div>\n);\n","title":"With large icons","lang":"ts","className":""}}>
146
-
147
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
148
- {`You can make your icons larger to help catch a user’s attention. To increase the size of an icon, use the `}
149
-
150
- <code {...{"className":"ws-code "}}>
151
- {`isDisplayLarge`}
152
- </code>
153
- {` property.`}
154
- </p>
155
-
156
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
157
- {`Be aware that `}
158
-
159
- <code {...{"className":"ws-code "}}>
160
- {`isDisplayLarge`}
161
- </code>
162
- {` can only be used when `}
163
-
164
- <code {...{"className":"ws-code "}}>
165
- {`isStacked`}
166
- </code>
167
- {` is also applied.`}
168
- </p>
169
- </Example>,
170
- 'With long subtext': props =>
171
- <Example {...pageData} {...props} {...{"code":"import { Flex } from '@patternfly/react-core';\nimport { Tile } from '@patternfly/react-core/deprecated';\nimport RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';\n\nexport const TileWithExtraContent: React.FunctionComponent = () => (\n <div role=\"listbox\" aria-label=\"Tiles with extra content\">\n <Flex>\n <Flex flex={{ default: 'flex_1' }}>\n <Tile title=\"Default\" icon={<RhUiNotificationFillIcon />} isStacked isSelected={false}>\n This is really really long subtext that goes on for so long that it has to wrap to the next line. This is\n really really long subtext that goes on for so long that it has to wrap to the next line.\n </Tile>\n </Flex>\n <Flex flex={{ default: 'flex_1' }}>\n <Tile title=\"Selected\" icon={<RhUiNotificationFillIcon />} isStacked isSelected>\n This is really really long subtext that goes on for so long that it has to wrap to the next line.\n </Tile>\n </Flex>\n <Flex flex={{ default: 'flex_1' }}>\n <Tile title=\"Disabled\" icon={<RhUiNotificationFillIcon />} isStacked isDisabled isSelected={false}>\n Subtext goes here\n </Tile>\n </Flex>\n </Flex>\n </div>\n);\n","title":"With long subtext","lang":"ts","className":""}}>
172
-
173
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
174
- {`To provide users with a large amount of context, subtext can be elongated to wrap around to the next line. To format a long subtext, you can pass the component `}
175
-
176
- <code {...{"className":"ws-code "}}>
177
- {`Flex`}
178
- </code>
179
- {` into `}
180
-
181
- <code {...{"className":"ws-code "}}>
182
- {`<Tile>`}
183
- </code>
184
- {`.`}
185
- </p>
186
-
187
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
188
- {`You can also change the type of `}
189
-
190
- <code {...{"className":"ws-code "}}>
191
- {`Flex`}
192
- </code>
193
- {` you can use so that the line breaks in the subtext fits your needs. You can do this by changing the default flex. The standard is `}
194
-
195
- <code {...{"className":"ws-code "}}>
196
- {`default: “flex_1”`}
197
- </code>
198
- {`, and changing the number in the default will also change where the sentence breaks.`}
199
- </p>
200
- </Example>,
201
- 'Tiles with single selection': props =>
202
- <Example {...pageData} {...props} {...{"code":"import { useState } from 'react';\nimport { Tile } from '@patternfly/react-core/deprecated';\n\nconst TileSingleSelect: React.FunctionComponent = () => {\n const [selectedId, setSelectedId] = useState<string>('');\n\n const onSelect = (event: React.MouseEvent) => {\n setSelectedId(event.currentTarget.id);\n };\n\n const onKeyDown = (event: React.KeyboardEvent) => {\n if (event.key === ' ' || event.key === 'Enter') {\n event.preventDefault();\n setSelectedId(event.currentTarget.id);\n }\n };\n\n return (\n <div role=\"listbox\" aria-label=\"Single selection tiles\">\n <Tile title=\"Tile 1\" id=\"single-select-tile-1\" onClick={onSelect} onKeyDown={onKeyDown} isSelected={selectedId === 'single-select-tile-1'} />\n <Tile title=\"Tile 2\" id=\"single-select-tile-2\" onClick={onSelect} onKeyDown={onKeyDown} isSelected={selectedId === 'single-select-tile-2'} />\n <Tile title=\"Tile 3\" id=\"single-select-tile-3\" isDisabled isSelected={selectedId === 'single-select-tile-3'} />\n <Tile title=\"Tile 4\" id=\"single-select-tile-4\" onClick={onSelect} onKeyDown={onKeyDown} isSelected={selectedId === 'single-select-tile-4'} />\n </div>\n );\n};","title":"Tiles with single selection","lang":"ts","className":""}}>
203
-
204
- </Example>,
205
- 'Tiles with multiple selection': props =>
206
- <Example {...pageData} {...props} {...{"code":"import { useState } from 'react';\nimport { Tile } from '@patternfly/react-core/deprecated';\n\nconst TileMultiSelect: React.FunctionComponent = () => {\n const [selectedIds, setSelectedIds] = useState<string[]>([]);\n\n const onSelect = (event: React.MouseEvent | React.KeyboardEvent) => {\n const targetId = event.currentTarget.id;\n setSelectedIds(prevSelectedIds => {\n const newSelectedIds = prevSelectedIds.includes(targetId)\n ? prevSelectedIds.filter(id => id !== targetId)\n : [...prevSelectedIds, targetId];\n console.log('tile selections: ', newSelectedIds);\n return newSelectedIds;\n });\n };\n\n const onKeyDown = (event: React.KeyboardEvent) => {\n console.log(event.key);\n if (event.key === ' ' || event.key === 'Enter') {\n event.preventDefault();\n onSelect(event);\n }\n };\n\n return (\n <div role=\"listbox\" aria-multiselectable={true} aria-label=\"Multiselectable tiles\">\n <Tile\n title=\"Tile 1\"\n id=\"multiselect-tile-1\"\n onClick={onSelect}\n onKeyDown={onKeyDown}\n isSelected={selectedIds.includes('multiselect-tile-1')}\n />\n <Tile\n title=\"Tile 2\"\n id=\"multiselect-tile-2\"\n onClick={onSelect}\n onKeyDown={onKeyDown}\n isSelected={selectedIds.includes('multiselect-tile-2')}\n />\n <Tile title=\"Tile 3\" id=\"multiselect-tile-3\" isDisabled />\n <Tile\n title=\"Tile 4\"\n id=\"multiselect-tile-4\"\n onClick={onSelect}\n onKeyDown={onKeyDown}\n isSelected={selectedIds.includes('multiselect-tile-4')}\n />\n </div>\n );\n};","title":"Tiles with multiple selection","lang":"ts","className":""}}>
207
-
208
- </Example>
209
- };
210
-
211
- const Component = () => (
212
- <React.Fragment>
213
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
214
- <strong {...{"className":""}}>
215
- {`Note:`}
216
- </strong>
217
- {` Tile has been deprecated. Use the `}
218
- <PatternflyThemeLink {...{"to":"/components/card#cards-as-tiles","className":""}}>
219
- {`card`}
220
- </PatternflyThemeLink>
221
- {` component instead.`}
222
- </p>
223
- <AutoLinkHeader {...{"id":"examples","headingLevel":"h2","className":"ws-title ws-h2"}}>
224
- {`Examples`}
225
- </AutoLinkHeader>
226
- {React.createElement(pageData.examples["Basic tile"])}
227
- {React.createElement(pageData.examples["With subtext"])}
228
- {React.createElement(pageData.examples["With icon"])}
229
- {React.createElement(pageData.examples["With stacked icon"])}
230
- {React.createElement(pageData.examples["With large icons"])}
231
- {React.createElement(pageData.examples["With long subtext"])}
232
- <AutoLinkHeader {...{"id":"demos","headingLevel":"h2","className":"ws-title ws-h2"}}>
233
- {`Demos`}
234
- </AutoLinkHeader>
235
- {React.createElement(pageData.examples["Tiles with single selection"])}
236
- {React.createElement(pageData.examples["Tiles with multiple selection"])}
237
- </React.Fragment>
238
- );
239
- Component.displayName = 'ComponentsTileReactDeprecatedDocs';
240
- Component.pageData = pageData;
241
-
242
- export default Component;
@@ -1,283 +0,0 @@
1
- import React from 'react';
2
- import { AutoLinkHeader, Example, Link as PatternflyThemeLink } from '@patternfly/documentation-framework/components';
3
-
4
- const pageData = {
5
- "id": "Timestamp",
6
- "section": "components",
7
- "subsection": "",
8
- "deprecated": false,
9
- "template": false,
10
- "beta": false,
11
- "demo": false,
12
- "newImplementationLink": false,
13
- "source": "react",
14
- "tabName": null,
15
- "slug": "/components/timestamp/react",
16
- "sourceLink": "https://github.com/patternfly/patternfly-react/blob/main/packages/react-core/src/components/Timestamp/examples/Timestamp.md",
17
- "relPath": "packages/react-core/src/components/Timestamp/examples/Timestamp.md",
18
- "propComponents": [
19
- {
20
- "name": "Timestamp",
21
- "description": "",
22
- "props": [
23
- {
24
- "name": "children",
25
- "type": "React.ReactNode",
26
- "description": "Displays custom content inside the timestamp, such as a relative time. This prop will\noverride the default content that is displayed. Custom content will not be affected by\nany props that format or add to displayed content."
27
- },
28
- {
29
- "name": "className",
30
- "type": "string",
31
- "description": "Class to add to the outer span."
32
- },
33
- {
34
- "name": "customFormat",
35
- "type": "{ [key: string]: string }",
36
- "description": "Applies custom formatting to the displayed date and/or time. Passing this prop in will\noverride the dateFormat and timeFormat props."
37
- },
38
- {
39
- "name": "date",
40
- "type": "Date",
41
- "description": "Determines the default content that is displayed inside the timestamp and the value of\nthe inner time element's datetime attribute."
42
- },
43
- {
44
- "name": "dateFormat",
45
- "type": "'full' | 'long' | 'medium' | 'short'",
46
- "description": "Determines the format of the displayed date in the timestamp and UTC tooltip. Examples:\n\"Full\" => Tuesday, August 9, 2022;\n\"Long\" => August 9, 2022;\n\"Medium\" => Aug 9, 2022;\n\"Short\" => 8/9/22"
47
- },
48
- {
49
- "name": "displaySuffix",
50
- "type": "string",
51
- "description": "Applies a custom suffix to the displayed content, usually after the time, such as a\ncustom time zone.",
52
- "defaultValue": "''"
53
- },
54
- {
55
- "name": "is12Hour",
56
- "type": "boolean",
57
- "description": "Flag for displaying the time in a 12 hour format. If this prop is not passed in,\nthe hour format will be based on the locale prop's value."
58
- },
59
- {
60
- "name": "locale",
61
- "type": "string",
62
- "description": "Determines which locale to use in the displayed content. Defaults to the current locale\nwhen this prop is not passed in. For more information about locale's:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation"
63
- },
64
- {
65
- "name": "shouldDisplayUTC",
66
- "type": "boolean",
67
- "description": "Flag indicating whether the default content should be displayed as a UTC string\ninstead of a local string."
68
- },
69
- {
70
- "name": "timeFormat",
71
- "type": "'full' | 'long' | 'medium' | 'short'",
72
- "description": "Determines the format of the displayed time in the timestamp and UTC tooltip. Examples:\n\"Full\" => 11:25:00 AM Eastern Daylight Time\n\"Long\" => 11:25:00 AM EDT\n\"Medium\" => 11:25:00 AM\n\"Short\" => 11:25 AM"
73
- },
74
- {
75
- "name": "tooltip",
76
- "type": "TimestampTooltip",
77
- "description": "Adds a tooltip to the timestamp."
78
- }
79
- ]
80
- },
81
- {
82
- "name": "TimestampTooltip",
83
- "description": "",
84
- "props": [
85
- {
86
- "name": "content",
87
- "type": "React.ReactNode",
88
- "description": "Content displayed in the tooltip when using the \"custom\" variant."
89
- },
90
- {
91
- "name": "suffix",
92
- "type": "string",
93
- "description": "A custom suffix to apply to a \"default\" variant tooltip."
94
- },
95
- {
96
- "name": "tooltipProps",
97
- "type": "any",
98
- "description": "Additional props passed to the tooltip."
99
- },
100
- {
101
- "name": "variant",
102
- "type": "'default' | 'custom'",
103
- "description": "The variant of the tooltip. The \"default\" variant displays the date passed into\nthe timestamp's date prop as a UTC string.",
104
- "required": true
105
- }
106
- ]
107
- }
108
- ],
109
- "cssPrefix": [
110
- "pf-v6-c-timestamp"
111
- ],
112
- "examples": [
113
- "Default",
114
- "Basic formats",
115
- "Custom format",
116
- "Default tooltip",
117
- "Custom content",
118
- "Custom tooltip"
119
- ]
120
- };
121
- pageData.examples = {
122
- 'Default': props =>
123
- <Example {...pageData} {...props} {...{"code":"import { Timestamp } from '@patternfly/react-core';\n\nexport const TimestampDefault: React.FunctionComponent = () => (\n <>\n <Timestamp />\n <br />\n <Timestamp shouldDisplayUTC />\n </>\n);\n","title":"Default","lang":"ts","className":""}}>
124
-
125
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
126
- {`By default, a timestamp will display the current date and time based on the current locale if the `}
127
-
128
- <code {...{"className":"ws-code "}}>
129
- {`date`}
130
- </code>
131
- {` prop is not passed in.`}
132
- </p>
133
-
134
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
135
- {`Passing the `}
136
-
137
- <code {...{"className":"ws-code "}}>
138
- {`shouldDisplayUTC`}
139
- </code>
140
- {` property will display the UTC date and time instead of the current or passed in locale.`}
141
- </p>
142
- </Example>,
143
- 'Basic formats': props =>
144
- <Example {...pageData} {...props} {...{"code":"import { Timestamp, TimestampFormat } from '@patternfly/react-core';\n\nexport const TimestampBasicFormats: React.FunctionComponent = () => {\n const currentDate = new Date('2025-04-21T23:35:25');\n\n return (\n <>\n <Timestamp date={currentDate} dateFormat={TimestampFormat.full} timeFormat={TimestampFormat.full} />\n <br />\n <br />\n <Timestamp date={currentDate} dateFormat={TimestampFormat.full} />\n <br />\n <br />\n <Timestamp date={currentDate} timeFormat={TimestampFormat.full} />\n <br />\n <br />\n <Timestamp\n date={currentDate}\n dateFormat={TimestampFormat.medium}\n timeFormat={TimestampFormat.short}\n displaySuffix=\"US Eastern\"\n />\n </>\n );\n};\n","title":"Basic formats","lang":"ts","className":""}}>
145
-
146
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
147
- {`The format of the displayed content can be customized by passing in the `}
148
-
149
- <code {...{"className":"ws-code "}}>
150
- {`dateFormat`}
151
- </code>
152
- {` and/or `}
153
-
154
- <code {...{"className":"ws-code "}}>
155
- {`timeFormat`}
156
- </code>
157
- {` props. Passing in only one of the props will display only the date or time, depending on which prop is passed in. The possible options are "full", "long", "medium", and "short".`}
158
- </p>
159
-
160
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
161
- {`You can also pass in the `}
162
-
163
- <code {...{"className":"ws-code "}}>
164
- {`displaySuffix`}
165
- </code>
166
- {` prop to display a custom suffix at the end of the displayed content. This will not override a timezone that is already displayed from the applied time format.`}
167
- </p>
168
- </Example>,
169
- 'Custom format': props =>
170
- <Example {...pageData} {...props} {...{"code":"import { Timestamp } from '@patternfly/react-core';\n\nexport const TimestampCustomFormat: React.FunctionComponent = () => (\n <Timestamp customFormat={{ year: '2-digit', month: 'short', weekday: 'short', day: 'numeric', hour: 'numeric' }} />\n);\n","title":"Custom format","lang":"ts","className":""}}>
171
-
172
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
173
- {`The format of the displayed content can be further customized by passing in the `}
174
-
175
- <code {...{"className":"ws-code "}}>
176
- {`customFormat`}
177
- </code>
178
- {` prop. Read `}
179
-
180
- <PatternflyThemeLink {...{"to":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options","className":""}}>
181
- {`datetime format options`}
182
- </PatternflyThemeLink>
183
- {` for a list of options that can be passed in.`}
184
- </p>
185
- </Example>,
186
- 'Default tooltip': props =>
187
- <Example {...pageData} {...props} {...{"code":"import { Timestamp, TimestampTooltipVariant } from '@patternfly/react-core';\n\nexport const TimestampDefaultTooltip: React.FunctionComponent = () => {\n const currentDate = new Date('2025-04-21T14:30:00');\n\n return (\n <>\n <Timestamp date={currentDate} tooltip={{ variant: TimestampTooltipVariant.default }} />\n <br />\n <br />\n <Timestamp\n date={currentDate}\n tooltip={{ variant: TimestampTooltipVariant.default, suffix: 'Coordinated Universal Time (UTC)' }}\n />\n </>\n );\n};\n","title":"Default tooltip","lang":"ts","className":""}}>
188
-
189
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
190
- {`To render a tooltip that displays the timestamp content as a UTC time, you can pass in the `}
191
-
192
- <code {...{"className":"ws-code "}}>
193
- {`tooltip`}
194
- </code>
195
- {` prop with a variant of "default". The format of the default tooltip content will match the format of the timestamp content.`}
196
- </p>
197
-
198
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
199
- {`You can customize the suffix of this default tooltip variant by passing in `}
200
-
201
- <code {...{"className":"ws-code "}}>
202
- {`suffix`}
203
- </code>
204
- {` to the `}
205
-
206
- <code {...{"className":"ws-code "}}>
207
- {`tooltip`}
208
- </code>
209
- {` prop.`}
210
- </p>
211
- </Example>,
212
- 'Custom content': props =>
213
- <Example {...pageData} {...props} {...{"code":"import { Timestamp, TimestampFormat, TimestampTooltipVariant } from '@patternfly/react-core';\n\nexport const TimestampCustomContent: React.FunctionComponent = () => (\n <>\n <Timestamp date={new Date(2022, 7, 9, 14, 57, 0)} tooltip={{ variant: TimestampTooltipVariant.default }}>\n 1 hour ago\n </Timestamp>\n <br />\n <br />\n <Timestamp\n date={new Date(2022, 7, 9, 14, 57, 0)}\n dateFormat={TimestampFormat.medium}\n timeFormat={TimestampFormat.short}\n tooltip={{ variant: TimestampTooltipVariant.default }}\n >\n Last updated August 9th, 2022 at 2:57 PM EDT\n </Timestamp>\n </>\n);\n","title":"Custom content","lang":"ts","className":""}}>
214
-
215
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
216
- {`To display custom content, such as a relative time or prefacing text, you can pass in content to the `}
217
-
218
- <code {...{"className":"ws-code "}}>
219
- {`children`}
220
- </code>
221
- {` prop.`}
222
- </p>
223
-
224
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
225
- {`When also rendering a default tooltip with the `}
226
-
227
- <code {...{"className":"ws-code "}}>
228
- {`tooltip`}
229
- </code>
230
- {` prop, you can pass in the `}
231
-
232
- <code {...{"className":"ws-code "}}>
233
- {`dateFormat`}
234
- </code>
235
- {` and/or `}
236
-
237
- <code {...{"className":"ws-code "}}>
238
- {`timeFormat`}
239
- </code>
240
- {` props to customize the tooltip content without affecting the custom timestamp content.`}
241
- </p>
242
- </Example>,
243
- 'Custom tooltip': props =>
244
- <Example {...pageData} {...props} {...{"code":"import { Timestamp, TimestampTooltipVariant } from '@patternfly/react-core';\n\nexport const TimestampCustomTooltip: React.FunctionComponent = () => (\n <>\n <Timestamp\n date={new Date(2022, 7, 9, 14, 57, 0)}\n tooltip={{ variant: TimestampTooltipVariant.custom, content: 'Last updated on August 9th, 2022 - 2:57 PM UTC' }}\n />\n <br />\n <br />\n <Timestamp\n date={new Date(2022, 9, 31)}\n tooltip={{ variant: TimestampTooltipVariant.custom, content: '31st of October, 2022' }}\n >\n Halloween\n </Timestamp>\n </>\n);\n","title":"Custom tooltip","lang":"ts","className":""}}>
245
-
246
- <p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
247
- {`By passing in `}
248
-
249
- <code {...{"className":"ws-code "}}>
250
- {`variant="custom"`}
251
- </code>
252
- {` and `}
253
-
254
- <code {...{"className":"ws-code "}}>
255
- {`content`}
256
- </code>
257
- {` to the `}
258
-
259
- <code {...{"className":"ws-code "}}>
260
- {`tooltip`}
261
- </code>
262
- {` prop, you can display custom content within the timestamp's tooltip.`}
263
- </p>
264
- </Example>
265
- };
266
-
267
- const Component = () => (
268
- <React.Fragment>
269
- <AutoLinkHeader {...{"id":"examples","headingLevel":"h2","className":"ws-title ws-h2"}}>
270
- {`Examples`}
271
- </AutoLinkHeader>
272
- {React.createElement(pageData.examples["Default"])}
273
- {React.createElement(pageData.examples["Basic formats"])}
274
- {React.createElement(pageData.examples["Custom format"])}
275
- {React.createElement(pageData.examples["Default tooltip"])}
276
- {React.createElement(pageData.examples["Custom content"])}
277
- {React.createElement(pageData.examples["Custom tooltip"])}
278
- </React.Fragment>
279
- );
280
- Component.displayName = 'ComponentsTimestampReactDocs';
281
- Component.pageData = pageData;
282
-
283
- export default Component;
@@ -1,94 +0,0 @@
1
- import React from 'react';
2
- import { AutoLinkHeader, Example, Link as PatternflyThemeLink } from '@patternfly/documentation-framework/components';
3
- import { Fragment } from 'react';
4
- const pageData = {
5
- "id": "Title",
6
- "section": "components",
7
- "subsection": "",
8
- "deprecated": false,
9
- "template": false,
10
- "beta": false,
11
- "demo": false,
12
- "newImplementationLink": false,
13
- "source": "react",
14
- "tabName": null,
15
- "slug": "/components/title/react",
16
- "sourceLink": "https://github.com/patternfly/patternfly-react/blob/main/packages/react-core/src/components/Title/examples/Title.md",
17
- "relPath": "packages/react-core/src/components/Title/examples/Title.md",
18
- "propComponents": [
19
- {
20
- "name": "Title",
21
- "description": "",
22
- "props": [
23
- {
24
- "name": "children",
25
- "type": "React.ReactNode",
26
- "description": "Content rendered inside the Title",
27
- "defaultValue": "''"
28
- },
29
- {
30
- "name": "className",
31
- "type": "string",
32
- "description": "Additional classes added to the Title",
33
- "defaultValue": "''"
34
- },
35
- {
36
- "name": "headingLevel",
37
- "type": "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
38
- "description": "The heading level to use",
39
- "required": true
40
- },
41
- {
42
- "name": "ouiaId",
43
- "type": "number | string",
44
- "description": "Value to overwrite the randomly generated data-ouia-component-id."
45
- },
46
- {
47
- "name": "ouiaSafe",
48
- "type": "boolean",
49
- "description": "Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false.",
50
- "defaultValue": "true"
51
- },
52
- {
53
- "name": "size",
54
- "type": "'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'",
55
- "description": "The size of the Title"
56
- }
57
- ]
58
- }
59
- ],
60
- "cssPrefix": [
61
- "pf-v6-c-title"
62
- ],
63
- "examples": [
64
- "Default Sizes",
65
- "Custom Sizes"
66
- ]
67
- };
68
- pageData.liveContext = {
69
- Fragment
70
- };
71
- pageData.examples = {
72
- 'Default Sizes': props =>
73
- <Example {...pageData} {...props} {...{"code":"import { Fragment } from 'react';\nimport { Title } from '@patternfly/react-core';\n\nexport const TitleDefaultSizes: React.FunctionComponent = () => (\n <Fragment>\n <Title headingLevel=\"h1\">H1-styled title</Title>\n <Title headingLevel=\"h2\">H2-styled title</Title>\n <Title headingLevel=\"h3\">H3-styled title</Title>\n <Title headingLevel=\"h4\">H4-styled title</Title>\n <Title headingLevel=\"h5\">H5-styled title</Title>\n <Title headingLevel=\"h6\">H6-styled title</Title>\n </Fragment>\n);\n","title":"Default Sizes","lang":"ts","className":""}}>
74
-
75
- </Example>,
76
- 'Custom Sizes': props =>
77
- <Example {...pageData} {...props} {...{"code":"import { Fragment } from 'react';\nimport { Title, TitleSizes } from '@patternfly/react-core';\n\nexport const TitleCustomSizes: React.FunctionComponent = () => (\n <Fragment>\n <Title headingLevel=\"h1\" size={TitleSizes['4xl']}>\n 4xl title\n </Title>\n <Title headingLevel=\"h2\" size=\"3xl\">\n 3xl title\n </Title>\n <Title headingLevel=\"h3\" size={TitleSizes['2xl']}>\n 2xl title\n </Title>\n <Title headingLevel=\"h4\" size=\"xl\">\n xl title\n </Title>\n <Title headingLevel=\"h5\" size={TitleSizes.lg}>\n lg title\n </Title>\n <Title headingLevel=\"h6\" size=\"md\">\n md title\n </Title>\n </Fragment>\n);\n","title":"Custom Sizes","lang":"ts","className":""}}>
78
-
79
- </Example>
80
- };
81
-
82
- const Component = () => (
83
- <React.Fragment>
84
- <AutoLinkHeader {...{"id":"examples","headingLevel":"h2","className":"ws-title ws-h2"}}>
85
- {`Examples`}
86
- </AutoLinkHeader>
87
- {React.createElement(pageData.examples["Default Sizes"])}
88
- {React.createElement(pageData.examples["Custom Sizes"])}
89
- </React.Fragment>
90
- );
91
- Component.displayName = 'ComponentsTitleReactDocs';
92
- Component.pageData = pageData;
93
-
94
- export default Component;