Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

resetSelectStyles() function

resetSelectStyles() function

Signature

typescript
export default function resetSelectStyles(): {
    clearIndicator: () => {};
    container: () => {};
    control: () => {};
    dropdownIndicator: () => {};
    group: () => {};
    groupHeading: () => {};
    indicatorsContainer: () => {};
    indicatorSeparator: () => {};
    input: () => {};
    loadingIndicator: () => {};
    loadingMessage: () => {};
    menu: () => {};
    menuList: ({ maxHeight }: {
        maxHeight: number;
    }) => {
        maxHeight: number;
    };
    multiValue: () => {};
    multiValueLabel: () => {};
    multiValueRemove: () => {};
    noOptionsMessage: () => {};
    option: () => {};
    placeholder: () => {};
    singleValue: () => {};
    valueContainer: () => {};
};

Import

typescript
import { resetSelectStyles } from '@grafana/ui';

Returns:

{ clearIndicator: () => {}; container: () => {}; control: () => {}; dropdownIndicator: () => {}; group: () => {}; groupHeading: () => {}; indicatorsContainer: () => {}; indicatorSeparator: () => {}; input: () => {}; loadingIndicator: () => {}; loadingMessage: () => {}; menu: () => {}; menuList: ({ maxHeight }: { maxHeight: number; }) => { maxHeight: number; }; multiValue: () => {}; multiValueLabel: () => {}; multiValueRemove: () => {}; noOptionsMessage: () => {}; option: () => {}; placeholder: () => {}; singleValue: () => {}; valueContainer: () => {}; }