Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed Mar 16, 2022
1 parent 3adda2c commit 587aa41
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

import { i18n } from '@kbn/i18n';
import React from 'react';
import { SolutionToolbarButton, Props as SolutionToolbarButtonProps } from '../primary/primary';
import { ToolbarButton, Props as ToolbarButtonProps } from '../primary/primary';

export type Props = Omit<SolutionToolbarButtonProps, 'iconType' | 'label'>;
export type Props = Omit<ToolbarButtonProps, 'iconType' | 'label'>;

const label = {
getLibraryButtonLabel: () =>
Expand All @@ -20,7 +20,7 @@ const label = {
};

export const AddFromLibraryButton = ({ onClick, ...rest }: Props) => (
<SolutionToolbarButton
<ToolbarButton
{...rest}
iconType="folderOpen"
onClick={onClick}
Expand Down

0 comments on commit 587aa41

Please sign in to comment.