Skip to content

Commit

Permalink
[Maps] fix draw icons not displayed in buttons (#138433)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
nreese and kibanamachine authored Aug 9, 2022
1 parent c8e18f7 commit 0f64304
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { EuiButtonIcon, EuiPanel } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';
import { DRAW_SHAPE } from '../../../../../common/constants';
import { VectorCircleIcon } from '../../icons/vector_circle_icon';
import { VectorLineIcon } from '../../icons/vector_line_icon';
import { VectorSquareIcon } from '../../icons/vector_square_icon';
import { VectorCircleIcon } from './vector_circle_icon';
import { VectorLineIcon } from './vector_line_icon';
import { VectorSquareIcon } from './vector_square_icon';

export interface ReduxStateProps {
drawShape?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

import React, { FunctionComponent } from 'react';

export const VectorCircleIcon: FunctionComponent = () => (
export const VectorCircleIcon: FunctionComponent = (props) => (
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="euiIcon"
{...props}
>
<path
fillRule="evenodd"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

import React, { FunctionComponent } from 'react';

export const VectorLineIcon: FunctionComponent = () => (
export const VectorLineIcon: FunctionComponent = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="none"
viewBox="0 0 16 16"
className="euiIcon"
{...props}
>
<path d="M11.506 3.881l.707.707-7.594 7.594-.707-.707z" />
<path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

import React, { FunctionComponent } from 'react';

export const VectorSquareIcon: FunctionComponent = () => (
export const VectorSquareIcon: FunctionComponent = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="none"
viewBox="0 0 16 16"
className="euiIcon"
{...props}
>
<path
fillRule="evenodd"
Expand Down

0 comments on commit 0f64304

Please sign in to comment.