UNPKG

@activelylearn/material-ui

Version:

Material-UI's workspace package

24 lines (20 loc) 571 B
import React from 'react'; import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; const theme = createMuiTheme({ props: { // Name of the component ⚛️ MuiButtonBase: { // The properties to apply disableRipple: true, // No more ripple, on the whole application 💣! }, }, }); function OverridesProperties() { return ( <MuiThemeProvider theme={theme}> <Button>Overrides properties</Button> </MuiThemeProvider> ); } export default OverridesProperties;