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.
resetSelectStyles() function
resetSelectStyles() function
Signature
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
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: () => {};
}