Skip to content

Commit 5abea00

Browse files
committed
Remove commented code from VersionDropdown.tsx
1 parent bb7efd0 commit 5abea00

File tree

1 file changed

+0
-114
lines changed

1 file changed

+0
-114
lines changed

src/Elastic.Documentation.Site/Assets/web-components/VersionDropdown.tsx

Lines changed: 0 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -133,120 +133,6 @@ const VersionDropdown = ({ items }: VersionDropdownProps) => {
133133
...subpanels,
134134
]
135135

136-
// const panels = [
137-
// {
138-
// id: 0,
139-
// title: <EuiFlexGroup gutterSize="s" alignItems="center">
140-
// <EuiFlexItem grow={0}>
141-
// <EuiIcon type="check" />
142-
// </EuiFlexItem>
143-
// <EuiFlexItem grow={1}>
144-
// Current (9.0+)
145-
// </EuiFlexItem>
146-
// </EuiFlexGroup>,
147-
// width: WIDTH,
148-
// size: 's',
149-
// items: [
150-
// {
151-
// name: '8.x',
152-
// panel: 1,
153-
// },
154-
// {
155-
// name: '7.17',
156-
// href: 'https://elastic.co'
157-
// },
158-
// {
159-
// name: 'All versions',
160-
// href: 'https://elastic.co'
161-
// },
162-
// ],
163-
// },
164-
// {
165-
// id: 1,
166-
// initialFocusedItemIndex: 1,
167-
// title: '8.x',
168-
// width: WIDTH,
169-
// items: [
170-
// {
171-
// name: <EuiText size="xs">8.16</EuiText>,
172-
// href: 'https://elastic.co',
173-
// },
174-
// {
175-
// name: <EuiText size="xs">8.17</EuiText>,
176-
// href: 'https://elastic.co',
177-
// },
178-
// {
179-
// name: <EuiText size="xs">8.16</EuiText>,
180-
// href: 'https://elastic.co',
181-
// },
182-
// {
183-
// name: <EuiText size="xs">8.15</EuiText>,
184-
// href: 'https://elastic.co',
185-
// },
186-
// {
187-
// name: <EuiText size="xs">8.14</EuiText>,
188-
// href: 'https://elastic.co',
189-
// },
190-
// {
191-
// name: <EuiText size="xs">8.13</EuiText>,
192-
// href: 'https://elastic.co',
193-
// },
194-
// {
195-
// name: <EuiText size="xs">8.12</EuiText>,
196-
// href: 'https://elastic.co',
197-
// },
198-
// {
199-
// name: <EuiText size="xs">8.11</EuiText>,
200-
// href: 'https://elastic.co',
201-
// },
202-
// {
203-
// name: <EuiText size="xs">8.10</EuiText>,
204-
// href: 'https://elastic.co',
205-
// },
206-
// {
207-
// name: <EuiText size="xs">8.9</EuiText>,
208-
// href: 'https://elastic.co',
209-
// },
210-
// {
211-
// name: <EuiText size="xs">8.8</EuiText>,
212-
// href: 'https://elastic.co',
213-
// },
214-
// {
215-
// name: <EuiText size="xs">8.7</EuiText>,
216-
// href: 'https://elastic.co',
217-
// },
218-
// {
219-
// name: <EuiText size="xs">8.6</EuiText>,
220-
// href: 'https://elastic.co',
221-
// },
222-
// {
223-
// name: <EuiText size="xs">8.5</EuiText>,
224-
// href: 'https://elastic.co',
225-
// },
226-
// {
227-
// name: <EuiText size="xs">8.4</EuiText>,
228-
// href: 'https://elastic.co',
229-
// },
230-
// {
231-
// name: <EuiText size="xs">8.3</EuiText>,
232-
// href: 'https://elastic.co',
233-
// },
234-
// {
235-
// name: <EuiText size="xs">8.2</EuiText>,
236-
// href: 'https://elastic.co',
237-
// },
238-
// {
239-
// name: <EuiText size="xs">8.1</EuiText>,
240-
// href: 'https://elastic.co',
241-
// },
242-
// {
243-
// name: <EuiText size="xs">8.0</EuiText>,
244-
// href: 'https://elastic.co',
245-
// },
246-
// ],
247-
// },
248-
// ];
249-
250136
const button = (
251137
<EuiButton
252138
iconType="arrowDown"

0 commit comments

Comments
 (0)