Skip to content

Commit 09f1758

Browse files
authored
feat: Added new accordion with updated styles CLOUDP-314036 (#6902)
* added new accordion with updated styles * cleaned up redundant code and added tests * reusing original accordion
1 parent add521b commit 09f1758

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/compass-indexes/src/components/create-index-form/create-index-form.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,10 @@ function CreateIndexForm({
170170
/>
171171
)}
172172

173-
{/* TODO in CLOUDP-314036: update the accordion design */}
174-
<Accordion data-testid="create-index-modal-toggle-options" text="Options">
173+
<Accordion
174+
data-testid="create-index-modal-toggle-options"
175+
text={showIndexesGuidanceVariant ? 'Index Options' : 'Options'}
176+
>
175177
<div
176178
data-testid="create-index-modal-options"
177179
className={createIndexModalOptionStyles}

0 commit comments

Comments
 (0)