diff --git a/src/OnboardingSPA/components/Button/ButtonWhite/index.js b/src/OnboardingSPA/components/Button/ButtonWhite/index.js index 5fc778b57..6d3242368 100644 --- a/src/OnboardingSPA/components/Button/ButtonWhite/index.js +++ b/src/OnboardingSPA/components/Button/ButtonWhite/index.js @@ -1,7 +1,8 @@ import { Button } from '@wordpress/components'; +import { Icon } from '@wordpress/icons'; import classNames from 'classnames'; -const ButtonWhite = ( { className, text, onClick = false } ) => { +const ButtonWhite = ( { className, text, onClick, icon } ) => { return ( ); }; diff --git a/src/OnboardingSPA/components/Button/NavCardButton/index.js b/src/OnboardingSPA/components/Button/NavCardButton/index.js index 0f48246a8..4571de218 100644 --- a/src/OnboardingSPA/components/Button/NavCardButton/index.js +++ b/src/OnboardingSPA/components/Button/NavCardButton/index.js @@ -11,6 +11,8 @@ import { } from '../../../utils/analytics/hiive'; import { ACTION_ONBOARDING_COMPLETE } from '../../../utils/analytics/hiive/constants'; import { activateInitialPlugins } from '../../../utils/api/plugins'; +import classNames from 'classnames'; +import { Icon } from '@wordpress/icons'; /** * Navigation Button Component on Card @@ -18,7 +20,7 @@ import { activateInitialPlugins } from '../../../utils/api/plugins'; * @return */ -const NavCardButton = ( { text, disabled } ) => { +const NavCardButton = ( { text, disabled, className, icon } ) => { const navigate = useNavigate(); const { nextStep, currentData } = useSelect( ( select ) => { @@ -50,8 +52,18 @@ const NavCardButton = ( { text, disabled } ) => { return (