[Maps] fix draw icons not displayed in buttons (#138433)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Nathan Reese 2022-08-09 13:59:38 -06:00 committed by GitHub
parent c8e18f77b3
commit 0f643045cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -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;

View file

@ -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"

View file

@ -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

View file

@ -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"