Skip to content

Commit

Permalink
adding plus icon
Browse files Browse the repository at this point in the history
Signed-off-by: Shubh Sahu <shubhvs@amazon.com>
  • Loading branch information
Shubh Sahu committed Sep 2, 2024
1 parent 3348d17 commit bfd8260
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ class ComposableTemplates extends MDSEnabledComponent<ComposableTemplatesProps,
this.props.history.push(ROUTES.CREATE_COMPOSABLE_TEMPLATE);
}}
data-test-subj="CreateComponentTemplateWhenNoTemplateFound"
iconType="plus"
>
Create component template
</EuiSmallButton>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getActions: React.SFC<PolicyEmptyPromptProps> = ({ history, filterIsApplie
return (
<ModalConsumer>
{({ onShow }) => (
<EuiSmallButton fill onClick={() => onShow(CreatePolicyModal, { history, onClickContinue: onClickCreate })}>
<EuiSmallButton iconType="plus" fill onClick={() => onShow(CreatePolicyModal, { history, onClickContinue: onClickCreate })}>
Create policy
</EuiSmallButton>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exports[`<PolicyEmptyPrompt /> spec renders the component 1`] = `
<span
class="euiButtonContent euiButton__content"
>
EuiIconMock
<span
class="euiButton__text"
>
Expand Down

0 comments on commit bfd8260

Please sign in to comment.