From a433a2637ff41d31cf4a78a4f5e722745b4ab982 Mon Sep 17 00:00:00 2001 From: Joan Perals Tresserra Date: Wed, 28 Oct 2026 17:22:46 +0100 Subject: [PATCH] chore: Remove icon provider from autosuggest dev page --- .../token-mode-permutations.page.tsx | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/pages/autosuggest/token-mode-permutations.page.tsx b/pages/autosuggest/token-mode-permutations.page.tsx index ecd8c39c55..c3592ccb04 100644 --- a/pages/autosuggest/token-mode-permutations.page.tsx +++ b/pages/autosuggest/token-mode-permutations.page.tsx @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import React, { useState } from 'react'; -import { Autosuggest, AutosuggestProps, FormField, Icon, IconProvider } from '~components'; +import { Autosuggest, AutosuggestProps, FormField, Icon } from '~components'; import { PermutationsPage } from '../app/templates'; import PermutationsView from '../utils/permutations-view'; @@ -75,7 +75,6 @@ interface Permutation { label: string; tokens: ReadonlyArray; options?: keyof typeof OPTION_SETS; - customSearchIcon?: boolean; maxInlineSize?: string; disabled?: boolean; readOnly?: boolean; @@ -92,11 +91,6 @@ const permutations: ReadonlyArray = [ tokens: ['us-east-1', 'eu-west-1', 'ap-southeast-1'], options: 'icons', }, - { - label: 'Custom search icon via IconProvider (settings icon replaces magnifying glass)', - tokens: ['us-east-1', 'eu-west-1'], - customSearchIcon: true, - }, { label: 'Many tokens — overflow trigger', tokens: ALL_OPTIONS.slice(0, 6).map(o => o.value!), @@ -152,18 +146,7 @@ export default function AutosuggestTokenModePermutationsPage() { screenshotArea={{ disableAnimations: true }} i18n={{}} > - - permutation.customSearchIcon ? ( - }}> - - - ) : ( - - ) - } - /> + } /> ); }