Created
October 17, 2021 16:29
-
-
Save n8rzz/fe0fb94eaf716b5e3a7a0830ee3ce084 to your computer and use it in GitHub Desktop.
ui-experiement-in-action.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UiExperiments | |
a={ | |
<UiMainButton_V1 | |
classes={{ root: classes.button }} | |
minWidth={90} | |
testId={`${props.testId}_go-to-start-button`} | |
TouchRippleProps={{ classes: { ripple: classes.buttonRipple } }} | |
onClick={props.snapStartHandler} | |
> | |
{localizationStore.translate('ShaperPage:start')} | |
</UiMainButton_V1> | |
} | |
b={ | |
<Box marginLeft={2}> | |
<UiButton | |
color={UiComponentColors.White} | |
testId={`${props.testId}_GoToStart-button`} | |
variant={UiButtonVariants.Ghost} | |
onClick={props.snapStartHandler} | |
> | |
{localizationStore.translate('ShaperPage:start')} | |
</UiButton> | |
</Box> | |
} | |
isExperimentActive={featureFlagsStore.flags.designRefreshButtons} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment