Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed Nov 18, 2024
1 parent cdad488 commit be4c8c1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/

import classNames from 'classnames';
import React, { useMemo } from 'react';
import { EuiListGroupItem } from '@elastic/eui';
import { METRIC_TYPE } from '@kbn/analytics';
Expand Down Expand Up @@ -52,10 +51,6 @@ export const ExternalLinkComponent = ({
external
color="text"
isDisabled={Boolean(link.error)}
className={classNames('linksPanelLink', {
overflowEllipsis: linkOptions?.overflowEllipsis,
overflowTextWrap: linkOptions?.overflowTextWrap,
})}
showToolTip={Boolean(link.error)}
toolTipProps={{
content: link.error?.message,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ export const Demo = () => {
openInNewTab: false,
encodeUrl: true,
url: { template: '' },
overflowEllipsis: true,
overflowTextWrap: false,
});

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ import { UrlDrilldownOptions } from './types';
export const DEFAULT_URL_DRILLDOWN_OPTIONS: UrlDrilldownOptions = {
encodeUrl: true,
openInNewTab: true,
overflowEllipsis: true,
overflowTextWrap: false,
};
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export type UrlDrilldownConfig = {
export type UrlDrilldownOptions = {
openInNewTab: boolean;
encodeUrl: boolean;
overflowEllipsis: boolean;
overflowTextWrap: boolean;
};

/**
Expand Down

0 comments on commit be4c8c1

Please sign in to comment.