Skip to content

Commit

Permalink
Updated two instances of the ButtonColor import to EuiButtonColor as …
Browse files Browse the repository at this point in the history
…is was renamed in PR #6150
  • Loading branch information
breehall committed Sep 21, 2022
1 parent c194907 commit a16efc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import type { ButtonColor } from '@elastic/eui';
import type { EuiButtonColor } from '@elastic/eui';
import {
EuiButton,
EuiButtonEmpty,
Expand Down Expand Up @@ -328,7 +328,7 @@ export class PrivilegeSpaceForm extends Component<Props, State> {
throw new Error(`Unsupported mode: ${mode}`);
}

let buttonColor: ButtonColor = 'primary';
let buttonColor: EuiButtonColor = 'primary';
if (this.requiresGlobalPrivilegeWarning()) {
buttonColor = 'warning';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { i18n } from '@kbn/i18n';

import { euiThemeVars } from '@kbn/ui-theme';
import type { ButtonColor } from '@elastic/eui';
import type { EuiButtonColor } from '@elastic/eui';
import { useMemo } from 'react';
import type { ResolverProcessType, NodeDataStatus } from '../types';
import { useSymbolIDs } from './use_symbol_ids';
Expand Down Expand Up @@ -145,6 +145,6 @@ interface NodeStyleConfig {
descriptionFill: string;
descriptionText: string;
isLabelFilled: boolean;
labelButtonFill: ButtonColor;
labelButtonFill: EuiButtonColor;
strokeColor: string;
}

0 comments on commit a16efc2

Please sign in to comment.