Skip to content

Disable button text animation #7471

Closed Answered by viper1029
viper1029 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks, I got it working by adjusting the defaultProps for Button component:

const theme = createTheme({
    components: {
        Button: {
            defaultProps: {
                styles: {
                    inner: {
                        transform: 'none',
                        opacity: 1,
                    },
                },
            },
        },
    },
});

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rtivital
Comment options

@viper1029
Comment options

Answer selected by viper1029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants