Skip to content

Commit

Permalink
CI: replace missing import with type
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Jul 13, 2020
1 parent 90f9820 commit fff971a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { i18n } from '@kbn/i18n';
import { EuiBreadcrumbs, EuiCode, EuiBetaBadge, Breadcrumb } from '@elastic/eui';
import { EuiBreadcrumbs, EuiCode, EuiBetaBadge } from '@elastic/eui';
import styled from 'styled-components';
import React, { memo } from 'react';
import { useResolverTheme } from '../assets';
Expand Down Expand Up @@ -60,13 +60,14 @@ export const StyledTime = memo(styled('time')`
text-align: start;
`);

type Breadcrumbs = Parameters<typeof EuiBreadcrumbs>[0]['breadcrumbs'];
/**
* Breadcrumb menu with adjustments per direction from UX team
*/
export const StyledBreadcrumbs = memo(function StyledBreadcrumbs({
breadcrumbs,
}: {
breadcrumbs: Breadcrumb[];
breadcrumbs: Breadcrumbs;
}) {
const {
colorMap: { resolverBreadcrumbBackground, resolverEdgeText },
Expand Down

0 comments on commit fff971a

Please sign in to comment.