Mui:ButtonBase
Ripple Effect 효과를 낼 수 있다.
Example
- javascript - How to add ripple effect when clicking Card in MUI - Stack Overflow
- reactjs - Is it possible to use the touch ripple effect of MUI on a div? - Stack Overflow
import { ButtonBase, Typography } from "@mui/material";
const App = () => {
return (
<ButtonBase component="div">
<Typography fontSize="1.2rem">Hello, I'm a div with MUI Ripple Effect!</Typography>
</ButtonBase>
)
}
export default App;