Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 6c696ad

Browse files
chore(Perf): Rename dropdown perf example to align with the rest (#2171)
1 parent f20a4b2 commit 6c696ad

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/src/examples/components/Dropdown/Performance/Dropdown.perf.tsx renamed to docs/src/examples/components/Dropdown/Performance/DropdownManyItems.perf.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ const inputItems = _.times(300, (i: number) => ({
88
header: `header: ${i}`,
99
}))
1010

11-
const DropdownPerf = () => (
11+
const DropdownManyItemsPerf = () => (
1212
<Dropdown defaultOpen items={inputItems} placeholder="Select your hero" />
1313
)
1414

15-
export default DropdownPerf
15+
DropdownManyItemsPerf.filename = 'DropdownManyItemsPerf.perf.tsx'
16+
17+
export default DropdownManyItemsPerf

docs/src/examples/components/Dropdown/Performance/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const Performance = () => (
88
<ComponentPerfExample
99
title="Default"
1010
description="A default test."
11-
examplePath="components/Dropdown/Performance/Dropdown.perf"
11+
examplePath="components/Dropdown/Performance/DropdownManyItems.perf"
1212
/>
1313
</NonPublicSection>
1414
)

0 commit comments

Comments
 (0)